Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 208.8 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 66.98 kB / 1.117 GB, free: 41.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.328, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00335/0.3313, allocations: 1.786 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3333, allocations: 1.12 MB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.3334, allocations: 3.938 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.3341, allocations: 177.5 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.3345, allocations: 159.4 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3348, allocations: 135.6 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3351, allocations: 171.6 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3352, allocations: 17.3 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3353, allocations: 79.69 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3354, allocations: 75.67 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3355, allocations: 11.94 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3356, allocations: 63.94 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.3357, allocations: 43.84 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.3358, allocations: 55.61 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.3361, allocations: 204.9 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3361, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3361, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3361, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007321/0.3368, allocations: 438.8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3369, allocations: 11.97 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.3369, allocations: 38.75 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.3369, allocations: 16.84 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.3373, allocations: 190.2 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3373, allocations: 384 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3373, allocations: 11.94 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.3375, allocations: 81.58 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3375, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3375, allocations: 4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3375, allocations: 4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3376, allocations: 35.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3382, allocations: 319.7 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3384, allocations: 74.61 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.3385, allocations: 32.84 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3385, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3387, allocations: 83.38 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3387, allocations: 4 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.339, allocations: 145.5 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3391, allocations: 51.69 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.3394, allocations: 283 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3394, allocations: 29.7 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.3395, allocations: 128 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.3395, allocations: 19.8 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3396, allocations: 33.64 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3397, allocations: 330.8 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.3398, allocations: 28.09 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3399, allocations: 88.2 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3401, allocations: 73.69 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3401, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/0.3403, allocations: 121.5 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3403, allocations: 7.938 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3403, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3403, allocations: 0 / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.3404, allocations: 16 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3404, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.3405, allocations: 19.98 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3405, allocations: 4 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.3407, allocations: 137.8 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3407, allocations: 19.86 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.341, allocations: 131 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.341, allocations: 3.984 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.341, allocations: 4 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.341, allocations: 3.938 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.3412, allocations: 200.6 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3412, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.3413, allocations: 4 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3413, allocations: 96 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3413, allocations: 3.938 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3413, allocations: 4 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3413, allocations: 3.984 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3416, allocations: 152.8 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.3416, allocations: 19.89 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3416, allocations: 4 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3417, allocations: 4 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3417, allocations: 11.92 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3417, allocations: 4 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002243/0.342, allocations: 200.6 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 0 / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002598/0.3422, allocations: 35.92 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002242/0.3445, allocations: 1.038 MB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3447, allocations: 71.97 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3447, allocations: 4 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.3448, allocations: 39.86 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3451, allocations: 42.62 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.3477, allocations: 1.995 MB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.3478, allocations: 114.6 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.657e-05/0.3479, allocations: 25.72 kB / 1.293 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.932e-05/0.348, allocations: 51.42 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.348, allocations: 0 / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.3845, allocations: 5.294 MB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 11.69 kB / 1.299 GB, free: 11.95 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.869672336615622]