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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.89/2.89, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 59.91 kB / 1.104 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 168.7 MB / 1.269 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003014/1.111, allocations: 1.793 MB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001763/1.113, allocations: 1.035 MB / 1.271 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/1.113, allocations: 5.281 kB / 1.272 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/1.114, allocations: 156.9 kB / 1.272 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/1.114, allocations: 119.8 kB / 1.272 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/1.115, allocations: 168.7 kB / 1.272 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000279/1.115, allocations: 165.7 kB / 1.272 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/1.115, allocations: 21.7 kB / 1.272 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/1.115, allocations: 67.67 kB / 1.272 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/1.115, allocations: 75.72 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/1.115, allocations: 12.06 kB / 1.272 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/1.116, allocations: 65.27 kB / 1.272 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/1.116, allocations: 43.91 kB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/1.116, allocations: 59.86 kB / 1.272 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003913/1.116, allocations: 208.5 kB / 1.273 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.116, allocations: 0 / 1.273 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.116, allocations: 0.5312 kB / 1.273 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.116, allocations: 0 / 1.273 GB, free: 5.465 MB / 0.9981 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.0007377/1.117, allocations: 0.494 MB / 1.273 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.117, allocations: 13.59 kB / 1.273 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/1.117, allocations: 33.97 kB / 1.273 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/1.117, allocations: 16.92 kB / 1.273 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/1.117, allocations: 253.2 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1.117, allocations: 8.156 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/1.117, allocations: 7 kB / 1.273 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/1.118, allocations: 82.78 kB / 1.273 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.118, allocations: 5.359 kB / 1.274 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.118, allocations: 5.031 kB / 1.274 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.118, allocations: 7.109 kB / 1.274 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/1.118, allocations: 37.77 kB / 1.274 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/1.118, allocations: 351.3 kB / 1.274 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/1.118, allocations: 69.92 kB / 1.274 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/1.118, allocations: 37.17 kB / 1.274 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/1.118, allocations: 0.9062 kB / 1.274 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/1.119, allocations: 81.38 kB / 1.274 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/1.119, allocations: 0 / 1.274 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003312/1.119, allocations: 144.8 kB / 1.274 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.119, allocations: 83.59 kB / 1.274 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/1.119, allocations: 268.6 kB / 1.275 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/1.119, allocations: 27.08 kB / 1.275 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/1.119, allocations: 120.4 kB / 1.275 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.119, allocations: 22.28 kB / 1.275 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/1.119, allocations: 30.86 kB / 1.275 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/1.119, allocations: 332 kB / 1.275 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/1.119, allocations: 26.05 kB / 1.275 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/1.12, allocations: 63.98 kB / 1.275 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/1.12, allocations: 72.7 kB / 1.275 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.12, allocations: 0.9688 kB / 1.275 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001823/1.12, allocations: 114.2 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.12, allocations: 7.688 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.12, allocations: 2.078 kB / 1.275 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.12, allocations: 4.062 kB / 1.275 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/1.12, allocations: 16.16 kB / 1.275 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.12, allocations: 4.938 kB / 1.275 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/1.12, allocations: 14.53 kB / 1.275 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/1.12, allocations: 2.219 kB / 1.275 GB, free: 3.156 MB / 0.9981 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 9.357e-05/1.12, allocations: 143.4 kB / 1.275 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.12, allocations: 17.05 kB / 1.276 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/1.12, allocations: 16.78 kB / 1.276 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.12, allocations: 7.75 kB / 1.276 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.12, allocations: 0 / 1.276 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.12, allocations: 6.078 kB / 1.276 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/1.12, allocations: 222.7 kB / 1.276 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.12, allocations: 3.938 kB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/1.12, allocations: 4.875 kB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.12, allocations: 0 / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.12, allocations: 2.234 kB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.12, allocations: 0.8438 kB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.12, allocations: 0.9062 kB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/1.121, allocations: 155.5 kB / 1.276 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/1.121, allocations: 99.42 kB / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/1.121, allocations: 2.703 kB / 1.276 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/1.121, allocations: 8.75 kB / 1.276 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/1.121, allocations: 8.297 kB / 1.276 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.121, allocations: 2.969 kB / 1.276 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001893/1.121, allocations: 195.2 kB / 1.276 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.121, allocations: 4 kB / 1.276 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002625/1.121, allocations: 27.97 kB / 1.276 GB, free: 2.43 MB / 0.9981 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001833/1.123, allocations: 0.9952 MB / 1.277 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002335/1.123, allocations: 72.23 kB / 1.277 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.123, allocations: 0 / 1.277 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/1.123, allocations: 36.39 kB / 1.277 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/1.124, allocations: 54.45 kB / 1.277 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/1.126, allocations: 1.967 MB / 1.279 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.126, allocations: 0.7294 MB / 1.28 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.38e-05/1.126, allocations: 19.09 kB / 1.28 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/1.126, allocations: 44.55 kB / 1.28 GB, free: 15.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.126, allocations: 0 / 1.28 GB, free: 15.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/1.155, allocations: 4.537 MB / 1.285 GB, free: 14.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/9.618, allocations: 7.766 kB / 1.285 GB, free: 14.65 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 16.07007756223902]