Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_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.00155/0.00155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001562/0.001562, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.66 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2572, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002571/0.2598, allocations: 1.874 MB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.2611, allocations: 1.002 MB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.2612, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.2616, allocations: 151.7 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.2618, allocations: 107.7 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.2622, allocations: 158.8 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.2623, allocations: 163.6 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.2624, allocations: 29.09 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.2625, allocations: 63.77 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.2626, allocations: 71.69 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2626, allocations: 11.94 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2627, allocations: 55.95 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.2628, allocations: 39.91 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.2629, allocations: 67.55 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.2631, allocations: 195.7 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2631, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2631, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.2631, allocations: 4 kB / 1.056 GB, free: 4.648 MB / 0.8106 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.0004901/0.2636, allocations: 492.3 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.2636, allocations: 8.625 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2637, allocations: 42.73 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.2637, allocations: 16.75 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2639, allocations: 252.8 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.264, allocations: 4.375 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.264, allocations: 11.92 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2641, allocations: 91.38 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2642, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.2642, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2642, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.2643, allocations: 39.91 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.2647, allocations: 352.7 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2648, allocations: 82.61 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.2649, allocations: 32.84 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.2649, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2651, allocations: 83.31 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.2651, allocations: 4 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0002739/0.2654, allocations: 141.4 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.2654, allocations: 81.11 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.2656, allocations: 262.9 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2657, allocations: 25.7 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.2657, allocations: 124 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2657, allocations: 19.75 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.2658, allocations: 33.69 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.2659, allocations: 330.8 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.266, allocations: 27.98 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.266, allocations: 59.47 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.2661, allocations: 77.62 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2662, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000177/0.2663, allocations: 117.4 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2664, allocations: 12.92 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.2664, allocations: 0 / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.2664, allocations: 384 / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.2664, allocations: 11.94 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.2664, allocations: 0 / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.2665, allocations: 7.938 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.2665, allocations: 11.92 kB / 1.059 GB, free: 1.578 MB / 0.8106 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.995e-05/0.2666, allocations: 145.9 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.2667, allocations: 11.81 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.2667, allocations: 17.41 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2667, allocations: 7.984 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2667, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2667, allocations: 3.938 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2669, allocations: 221.5 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2669, allocations: 0 / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.2669, allocations: 4 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2669, allocations: 4 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2669, allocations: 8 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2669, allocations: 3.938 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2669, allocations: 0 / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.2672, allocations: 148.7 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2672, allocations: 89.02 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2672, allocations: 4 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.2673, allocations: 3.984 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.2673, allocations: 11.94 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.2673, allocations: 8 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001485/0.2675, allocations: 196.5 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2675, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002208/0.2677, allocations: 35.91 kB / 1.06 GB, free: 0.5781 MB / 0.8106 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.001172/0.2689, allocations: 1.007 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.2691, allocations: 71.97 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2691, allocations: 0 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.2692, allocations: 39.92 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2694, allocations: 37.58 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.2712, allocations: 1.978 MB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2715, allocations: 0.7279 MB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.2715, allocations: 21.72 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.2716, allocations: 47.41 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2716, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.486/1.757, allocations: 4.304 MB / 1.068 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/1.758, allocations: 243.4 kB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/4.259, allocations: 3.938 kB / 1.068 GB, free: 8.254 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches