Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008809, allocations: 96.62 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004818/0.004818, allocations: 169.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.129/2.129, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.00032, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.554, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001584/0.5556, allocations: 1.485 MB / 0.9566 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.5568, allocations: 0.9877 MB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.5569, allocations: 0 / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.5574, allocations: 154.7 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.5576, allocations: 106.4 kB / 0.9578 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.5579, allocations: 149.5 kB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.5581, allocations: 165.2 kB / 0.9581 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.5582, allocations: 24.25 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.54e-05/0.5583, allocations: 61.64 kB / 0.9582 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.5584, allocations: 64.31 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.5584, allocations: 2.281 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5585, allocations: 53.66 kB / 0.9583 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.5586, allocations: 46.77 kB / 0.9584 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.5586, allocations: 74.53 kB / 0.9584 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.5589, allocations: 194.8 kB / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5589, allocations: 0 / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5589, allocations: 0 / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5589, allocations: 0 / 0.9586 GB, free: 5.09 MB / 0.7169 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.000578/0.5595, allocations: 481 kB / 0.9591 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5595, allocations: 9.469 kB / 0.9591 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.5596, allocations: 31.88 kB / 0.9591 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.5596, allocations: 24.25 kB / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.5598, allocations: 236 kB / 0.9594 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5599, allocations: 11.27 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.5599, allocations: 11.78 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.56, allocations: 86.2 kB / 0.9595 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5601, allocations: 6.078 kB / 0.9595 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5601, allocations: 7.984 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.5601, allocations: 2 kB / 0.9595 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.5602, allocations: 36.02 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.5606, allocations: 359 kB / 0.9599 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.5608, allocations: 71.55 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.5609, allocations: 41.34 kB / 0.96 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.5609, allocations: 1.375 kB / 0.96 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.561, allocations: 83.94 kB / 0.9601 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.561, allocations: 1.375 kB / 0.9601 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003009/0.5613, allocations: 143.4 kB / 0.9602 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.5614, allocations: 78.48 kB / 0.9603 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.5616, allocations: 277.6 kB / 0.9605 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5616, allocations: 25.7 kB / 0.9606 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5617, allocations: 120.3 kB / 0.9607 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5617, allocations: 19.84 kB / 0.9607 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.5618, allocations: 17.83 kB / 0.9607 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.5618, allocations: 328.3 kB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.5619, allocations: 27.11 kB / 0.9611 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.5619, allocations: 61.42 kB / 0.9611 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.5621, allocations: 79.94 kB / 0.9612 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5621, allocations: 0 / 0.9612 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001736/0.5622, allocations: 115.4 kB / 0.9613 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5623, allocations: 5.688 kB / 0.9613 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5623, allocations: 0 / 0.9613 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5623, allocations: 0.9688 kB / 0.9613 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.5624, allocations: 9.281 kB / 0.9613 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5624, allocations: 5.281 kB / 0.9613 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.5624, allocations: 16.58 kB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5624, allocations: 3 kB / 0.9613 GB, free: 2.617 MB / 0.7169 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.161e-05/0.5625, allocations: 151.3 kB / 0.9615 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5626, allocations: 14.59 kB / 0.9615 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.5626, allocations: 16.36 kB / 0.9615 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5626, allocations: 11.08 kB / 0.9615 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.5626, allocations: 4 kB / 0.9615 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5626, allocations: 3.938 kB / 0.9615 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.5628, allocations: 226.7 kB / 0.9617 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5628, allocations: 0.75 kB / 0.9617 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.5628, allocations: 3.969 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5628, allocations: 0 / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5628, allocations: 1 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5628, allocations: 0.9688 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5628, allocations: 1.031 kB / 0.9618 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.563, allocations: 153.5 kB / 0.9619 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.5631, allocations: 97.81 kB / 0.962 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.5631, allocations: 6.031 kB / 0.962 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.5632, allocations: 3.156 kB / 0.962 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.5632, allocations: 15.42 kB / 0.962 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5632, allocations: 2.75 kB / 0.962 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001534/0.5634, allocations: 193 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5634, allocations: 0 / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002325/0.5636, allocations: 34.52 kB / 0.9622 GB, free: 1.824 MB / 0.7169 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.00115/0.5648, allocations: 0.9976 MB / 0.9632 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.565, allocations: 82.22 kB / 0.9633 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.565, allocations: 5.062 kB / 0.9633 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.5651, allocations: 33.64 kB / 0.9633 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.5654, allocations: 40.47 kB / 0.9634 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.5673, allocations: 1.98 MB / 0.9653 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5675, allocations: 0.7246 MB / 0.966 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.5676, allocations: 25.56 kB / 0.966 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.5677, allocations: 44.45 kB / 0.9661 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.5677, allocations: 0 / 0.9661 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.5821, allocations: 4.015 MB / 0.97 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.5824, allocations: 235.8 kB / 0.9702 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.368, allocations: 0 / 0.9702 GB, free: 12.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches