Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002003/0.002003, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002499/0.002499, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.493/3.493, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_12_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.002482/0.002482, allocations: 75.02 kB / 1.153 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4384, allocations: 176.1 MB / 1.325 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003429/0.4418, allocations: 1.782 MB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.4439, allocations: 1.123 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.444, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.4446, allocations: 166.3 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.445, allocations: 167.4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.4455, allocations: 135.6 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.4457, allocations: 175.5 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.4458, allocations: 13.31 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4459, allocations: 75.69 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.4461, allocations: 79.66 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.4461, allocations: 8 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.4462, allocations: 71.94 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.4463, allocations: 51.78 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.4464, allocations: 39.73 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.4467, allocations: 211.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4467, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4467, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.4467, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 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.0007495/0.4475, allocations: 434.8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4475, allocations: 12.03 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.4475, allocations: 30.75 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.4476, allocations: 20.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.4479, allocations: 194.9 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4479, allocations: 4.375 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.4479, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.4481, allocations: 77.59 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4481, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4481, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4482, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4483, allocations: 35.98 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.4488, allocations: 319.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.4491, allocations: 86.66 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.4491, allocations: 32.84 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4491, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.4493, allocations: 87.27 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.4493, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000382/0.4497, allocations: 149.5 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.4498, allocations: 59.34 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.4501, allocations: 275 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4501, allocations: 33.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.4502, allocations: 120.1 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.4502, allocations: 27.78 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.4503, allocations: 29.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4504, allocations: 326.8 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.271e-05/0.4505, allocations: 27.98 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.4506, allocations: 84.25 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4508, allocations: 81.69 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4508, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002297/0.451, allocations: 125.9 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.451, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.451, allocations: 3.984 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.451, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.4511, allocations: 11.94 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4511, allocations: 160 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.4512, allocations: 7.938 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4512, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 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.0001415/0.4513, allocations: 146.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.4514, allocations: 23.89 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.4517, allocations: 139 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4517, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4517, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4517, allocations: 7.922 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.4519, allocations: 188.6 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4519, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.4519, allocations: 4 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4519, allocations: 3.938 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.452, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.452, allocations: 8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.452, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4522, allocations: 156.8 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.4523, allocations: 19.91 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4523, allocations: 7.984 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.4524, allocations: 4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.4524, allocations: 7.922 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4524, allocations: 8 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002198/0.4526, allocations: 200.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4526, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002856/0.4529, allocations: 31.92 kB / 1.333 GB, free: 10.55 MB / 1.029 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.002336/0.4552, allocations: 1.035 MB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.4556, allocations: 75.94 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4556, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.4557, allocations: 35.92 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4561, allocations: 38.62 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.4592, allocations: 2.017 MB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4593, allocations: 114.6 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.4594, allocations: 21.72 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.4595, allocations: 51.42 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of SimCode: time 1.433e-06/0.4595, allocations: 7.938 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.4946, allocations: 5.288 MB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.68, allocations: 8.906 kB / 1.341 GB, free: 2 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.33944143075496]