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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4585, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002209/0.4608, allocations: 1.776 MB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4619, allocations: 1.023 MB / 0.9524 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.4619, allocations: 1.406 kB / 0.9524 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.4624, allocations: 158.9 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.4626, allocations: 115.4 kB / 0.9527 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.4629, allocations: 175.3 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.4631, allocations: 164.5 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.4632, allocations: 28.41 kB / 0.9531 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.4633, allocations: 76.69 kB / 0.9531 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.4633, allocations: 68.72 kB / 0.9532 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.4634, allocations: 8.688 kB / 0.9532 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.4635, allocations: 58.22 kB / 0.9533 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.4635, allocations: 47.33 kB / 0.9533 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.4636, allocations: 64.55 kB / 0.9534 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.4638, allocations: 188.1 kB / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.4638, allocations: 0 / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4638, allocations: 1.375 kB / 0.9535 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.4638, allocations: 0 / 0.9535 GB, free: 6.332 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.0004481/0.4643, allocations: 0.4913 MB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.4643, allocations: 10 kB / 0.954 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.164e-05/0.4643, allocations: 39.98 kB / 0.9541 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4644, allocations: 16.31 kB / 0.9541 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.4645, allocations: 248.1 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4646, allocations: 2.844 kB / 0.9543 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.4646, allocations: 6.312 kB / 0.9543 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4647, allocations: 92.03 kB / 0.9544 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.4647, allocations: 1.281 kB / 0.9544 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4648, allocations: 0 / 0.9544 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.4648, allocations: 3.688 kB / 0.9544 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.4649, allocations: 41.84 kB / 0.9545 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.4652, allocations: 348 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4654, allocations: 79.14 kB / 0.9549 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.4654, allocations: 36.75 kB / 0.9549 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4655, allocations: 1 kB / 0.9549 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.4656, allocations: 85.44 kB / 0.955 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.4656, allocations: 0 / 0.955 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002593/0.4659, allocations: 152.8 kB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.4659, allocations: 78.52 kB / 0.9552 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4661, allocations: 269.7 kB / 0.9555 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.4661, allocations: 25.7 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.4661, allocations: 117.7 kB / 0.9556 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.4662, allocations: 23.23 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.4662, allocations: 24.28 kB / 0.9557 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.4662, allocations: 330.4 kB / 0.956 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.4663, allocations: 30.17 kB / 0.956 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.4664, allocations: 60.45 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.4665, allocations: 67.92 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4665, allocations: 1.188 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001572/0.4666, allocations: 118.9 kB / 0.9562 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.4666, allocations: 8.469 kB / 0.9562 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4667, allocations: 1.438 kB / 0.9562 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4667, allocations: 5.484 kB / 0.9562 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.4667, allocations: 12.88 kB / 0.9563 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4667, allocations: 0 / 0.9563 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.4668, allocations: 17.16 kB / 0.9563 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.4668, allocations: 1.875 kB / 0.9563 GB, free: 3.848 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 7.549e-05/0.4669, allocations: 152.4 kB / 0.9564 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.4669, allocations: 23.31 kB / 0.9564 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.467, allocations: 14.72 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.467, allocations: 7.578 kB / 0.9565 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.467, allocations: 0 / 0.9565 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.467, allocations: 13.64 kB / 0.9565 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4671, allocations: 217.8 kB / 0.9567 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4671, allocations: 0 / 0.9567 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.4671, allocations: 3.625 kB / 0.9567 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4671, allocations: 1.219 kB / 0.9567 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.4671, allocations: 1.406 kB / 0.9567 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4672, allocations: 3.938 kB / 0.9567 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4672, allocations: 4 kB / 0.9567 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.4673, allocations: 142.6 kB / 0.9568 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.4674, allocations: 98.36 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4674, allocations: 1.375 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.4674, allocations: 6.734 kB / 0.9569 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.4675, allocations: 6.594 kB / 0.9569 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4675, allocations: 2.656 kB / 0.9569 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001309/0.4676, allocations: 205.3 kB / 0.9571 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4676, allocations: 0 / 0.9571 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002095/0.4678, allocations: 35.45 kB / 0.9572 GB, free: 3.055 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.001021/0.4689, allocations: 0.9942 MB / 0.9581 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.4691, allocations: 77.86 kB / 0.9582 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4691, allocations: 0 / 0.9582 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.4691, allocations: 39.14 kB / 0.9583 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.4694, allocations: 37.61 kB / 0.9583 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4708, allocations: 1.952 MB / 0.9602 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.471, allocations: 0.7275 MB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.914e-05/0.471, allocations: 22.5 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.4711, allocations: 47.89 kB / 0.961 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.4711, allocations: 1.094 kB / 0.961 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.682/3.153, allocations: 4.427 MB / 0.9653 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.975/13.13, allocations: 6 kB / 0.9653 GB, free: 13.62 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