Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.831/2.831, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.033e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003634/0.003664, allocations: 1.799 MB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.006299, allocations: 1.108 MB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.006417, allocations: 5.688 kB / 0.8137 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007386/0.007156, allocations: 171.4 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.007722, allocations: 160.8 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.008262, allocations: 145.1 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.00865, allocations: 171.5 kB / 0.8143 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.008781, allocations: 18.91 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.009043, allocations: 95.72 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.009229, allocations: 67.8 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.009265, allocations: 12 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.009508, allocations: 68.38 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.009617, allocations: 43.84 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.00972, allocations: 36.5 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.01021, allocations: 208 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01021, allocations: 0 / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01021, allocations: 1.156 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.01022, allocations: 0 / 0.8148 GB, free: 14.03 MB / 0.7761 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.001074/0.01129, allocations: 430.9 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.01134, allocations: 9.406 kB / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.01145, allocations: 24.83 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.01188, allocations: 198 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.0119, allocations: 10.12 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.01192, allocations: 384 / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.01214, allocations: 74.22 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01216, allocations: 3.938 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.01217, allocations: 0 / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.01218, allocations: 5.125 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.01232, allocations: 43.91 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.01294, allocations: 285 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.01318, allocations: 80.08 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.01327, allocations: 32.84 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.01329, allocations: 0 / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.01349, allocations: 85.97 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.0135, allocations: 0 / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0004452/0.01394, allocations: 153.5 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.01399, allocations: 51.41 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.01439, allocations: 283.1 kB / 0.8165 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.01441, allocations: 25.7 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.01453, allocations: 116.6 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.01456, allocations: 28.52 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01463, allocations: 29.7 kB / 0.8167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.01482, allocations: 327.4 kB / 0.817 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.0149, allocations: 28.48 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.01505, allocations: 89.22 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01522, allocations: 77.95 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01522, allocations: 1.016 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000267/0.01549, allocations: 125.4 kB / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01551, allocations: 8.828 kB / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01551, allocations: 0 / 0.8173 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.01554, allocations: 10.2 kB / 0.8173 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.01562, allocations: 11.94 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01563, allocations: 160 / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.01571, allocations: 15.89 kB / 0.8173 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.01573, allocations: 15.97 kB / 0.8174 GB, free: 11.22 MB / 0.7761 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.0001652/0.01589, allocations: 145.3 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.01593, allocations: 15.91 kB / 0.8175 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.01625, allocations: 131.1 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.01626, allocations: 4 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01627, allocations: 3.984 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01627, allocations: 0 / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.01649, allocations: 166.7 kB / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0165, allocations: 0 / 0.8178 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.01653, allocations: 7.984 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01653, allocations: 0 / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01655, allocations: 9.125 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01655, allocations: 0 / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01655, allocations: 3.938 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.01686, allocations: 154 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.0169, allocations: 15.86 kB / 0.818 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.01692, allocations: 4 kB / 0.818 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.01698, allocations: 4.766 kB / 0.818 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.01704, allocations: 11.94 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.01706, allocations: 9.859 kB / 0.818 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000253/0.01731, allocations: 200.6 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01731, allocations: 0 / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002796/0.01759, allocations: 35.92 kB / 0.8182 GB, free: 10.26 MB / 0.7761 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.002088/0.01968, allocations: 461 kB / 0.8187 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.01994, allocations: 75.89 kB / 0.8188 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.01994, allocations: 0 / 0.8188 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.02005, allocations: 35.98 kB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.02039, allocations: 43.11 kB / 0.8188 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.0211, allocations: 317.5 kB / 0.8191 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.02124, allocations: 120 kB / 0.8192 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.477e-05/0.02133, allocations: 21.78 kB / 0.8193 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.02139, allocations: 20.5 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.02139, allocations: 0 / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.007123/0.02851, allocations: 2.43 MB / 0.8217 GB, free: 6.957 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.79834832099732]