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: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001906/0.001906, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.595/1.595, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.955/0.9567, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003116/0.9598, allocations: 1.787 MB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.9614, allocations: 1.029 MB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.9615, allocations: 0.9375 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.9622, allocations: 163.5 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.9626, allocations: 111.8 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.9631, allocations: 176.1 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.9633, allocations: 166 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.9634, allocations: 26.12 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.9636, allocations: 77.48 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.9637, allocations: 68.62 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.9638, allocations: 7.625 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.9639, allocations: 60.81 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.964, allocations: 39.14 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.9641, allocations: 64.53 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.9645, allocations: 198.2 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9645, allocations: 0.9688 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9645, allocations: 0 / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9645, allocations: 0 / 1.092 GB, free: 3.078 MB / 0.8575 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.0007122/0.9652, allocations: 0.4884 MB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.9653, allocations: 9.25 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.9654, allocations: 23.92 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.9657, allocations: 245.5 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.9657, allocations: 2.969 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.9657, allocations: 7.812 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.9659, allocations: 91.11 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.9659, allocations: 0 / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.966, allocations: 1.891 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.966, allocations: 7.328 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.9661, allocations: 40.05 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.9666, allocations: 357.3 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.9668, allocations: 78.86 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.9669, allocations: 31.66 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.9669, allocations: 6.109 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.9671, allocations: 79.5 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.9671, allocations: 0.7188 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003556/0.9675, allocations: 140.8 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.9675, allocations: 78.61 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.9678, allocations: 262.3 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.9679, allocations: 30.92 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.9679, allocations: 120.6 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.968, allocations: 21.3 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.968, allocations: 25.78 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.9681, allocations: 332.9 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.9682, allocations: 26.44 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.615e-05/0.9683, allocations: 62.95 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.9684, allocations: 81.66 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9684, allocations: 0.7812 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002042/0.9686, allocations: 118.8 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9687, allocations: 4.844 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.9687, allocations: 1.531 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.9687, allocations: 1.625 kB / 1.095 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.9688, allocations: 13.84 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9688, allocations: 5.562 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.9688, allocations: 9.391 kB / 1.095 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.9689, allocations: 6.406 kB / 1.095 GB, free: 0.8203 MB / 0.8575 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.0001028/0.969, allocations: 145 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.969, allocations: 15.5 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.9691, allocations: 18.41 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9691, allocations: 1.625 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9691, allocations: 7.922 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.9691, allocations: 98.7 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.9692, allocations: 6.75 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.515e-05/0.9692, allocations: 3.484 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.9693, allocations: 4.984 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002228/0.9695, allocations: 191.5 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002393/0.9697, allocations: 294.6 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.759e-05/0.9698, allocations: 39.56 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001882/0.97, allocations: 191.2 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of Backend: time 4.91e-07/0.97, allocations: 0 / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.9715, allocations: 453.2 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 0.000825/0.9724, allocations: 0.744 MB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.008065/0.9804, allocations: 2.377 MB / 1.1 GB, free: 14.95 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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