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.007887/0.007886, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001143/0.001143, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.561/2.561, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.95 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4215, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.0052/0.4268, allocations: 1.771 MB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.43, allocations: 1.035 MB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.4302, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009628/0.4312, allocations: 159.5 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.4315, allocations: 115.6 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.432, allocations: 171.4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.4322, allocations: 171.6 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.4323, allocations: 28.84 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4325, allocations: 75.67 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4326, allocations: 71.75 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.4326, allocations: 8 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.4328, allocations: 63.91 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.4329, allocations: 43.83 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.4329, allocations: 59.61 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.4333, allocations: 199.2 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4333, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4333, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4333, allocations: 0 / 1.092 GB, free: 13.55 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.0008766/0.4342, allocations: 0.496 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4342, allocations: 12.03 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.4343, allocations: 16.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.4347, allocations: 253 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4347, allocations: 12.31 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4348, allocations: 8.125 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.435, allocations: 87.31 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.435, allocations: 0 / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.435, allocations: 8 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.4351, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4352, allocations: 31.98 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.4358, allocations: 352.6 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.436, allocations: 70.67 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.4361, allocations: 36.84 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4361, allocations: 8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.4363, allocations: 75.33 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4363, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004359/0.4367, allocations: 149.5 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.4368, allocations: 81.05 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.4371, allocations: 266.9 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.4372, allocations: 29.7 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.4373, allocations: 116.1 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4373, allocations: 23.89 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.4374, allocations: 29.66 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4375, allocations: 334.8 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.4376, allocations: 24 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.4377, allocations: 63.41 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4378, allocations: 73.95 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4378, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001989/0.438, allocations: 121.5 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4381, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4381, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4381, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.4382, allocations: 16.05 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4382, allocations: 160 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.034e-05/0.4383, allocations: 15.89 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4383, allocations: 7.984 kB / 1.095 GB, free: 10.5 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.0001396/0.4384, allocations: 144.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.4385, allocations: 19.89 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.4385, allocations: 21.39 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4385, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4385, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4385, allocations: 7.875 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.4388, allocations: 225.5 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4388, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.4388, allocations: 11.98 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4388, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.4388, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4388, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4388, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.4391, allocations: 148.9 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.4391, allocations: 93 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.4392, allocations: 7.938 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.4392, allocations: 7.938 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4393, allocations: 7.984 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4393, allocations: 3.938 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001724/0.4395, allocations: 196.6 kB / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4395, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000311/0.4398, allocations: 35.91 kB / 1.095 GB, free: 9.492 MB / 0.8575 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.001019/0.4408, allocations: 415.7 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.4411, allocations: 67.92 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4411, allocations: 0 / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.4412, allocations: 43.91 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4415, allocations: 41.72 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.442, allocations: 298.8 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4424, allocations: 0.7279 MB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.4424, allocations: 21.72 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.4425, allocations: 19.44 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.4425, allocations: 7.938 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of Templates: time 0.006003/0.4485, allocations: 2.292 MB / 1.099 GB, free: 5.699 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches