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.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.001709/0.001709, allocations: 78.25 kB / 19.18 MB, free: 2.512 MB / 14.72 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.001968/0.001968, allocations: 163.7 kB / 22.46 MB, free: 5.367 MB / 14.72 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.919/2.919, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.877e-05, allocations: 6.219 kB / 1 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.004532/0.00456, allocations: 1.809 MB / 1.002 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.007425, allocations: 1.114 MB / 1.003 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.007555, allocations: 4 kB / 1.003 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.008393, allocations: 167.5 kB / 1.003 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006041/0.008998, allocations: 159.3 kB / 1.003 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.009606, allocations: 143.6 kB / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.009992, allocations: 175.5 kB / 1.004 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.01012, allocations: 17.3 kB / 1.004 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.01035, allocations: 95.67 kB / 1.004 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.01053, allocations: 67.84 kB / 1.004 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.01057, allocations: 8 kB / 1.004 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.0108, allocations: 71.88 kB / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.0109, allocations: 39.86 kB / 1.004 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.01099, allocations: 35.86 kB / 1.004 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.01146, allocations: 215.2 kB / 1.004 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01147, allocations: 4 kB / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01147, allocations: 0 / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.01147, allocations: 0 / 1.004 GB, free: 2.066 MB / 0.9044 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.0009867/0.01246, allocations: 430.8 kB / 1.005 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.0125, allocations: 8.031 kB / 1.005 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.01258, allocations: 16.84 kB / 1.005 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.01301, allocations: 189.4 kB / 1.005 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.01304, allocations: 12.36 kB / 1.005 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.01306, allocations: 4.375 kB / 1.005 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.0133, allocations: 74.11 kB / 1.005 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01331, allocations: 7.938 kB / 1.005 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.01333, allocations: 0 / 1.005 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.01335, allocations: 15.91 kB / 1.005 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.0135, allocations: 35.98 kB / 1.005 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.01417, allocations: 288.4 kB / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.01447, allocations: 78.61 kB / 1.005 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.01458, allocations: 32.84 kB / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.0146, allocations: 0 / 1.005 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.01484, allocations: 95.3 kB / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.01485, allocations: 0 / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0005043/0.01535, allocations: 145.5 kB / 1.005 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.0154, allocations: 55.41 kB / 1.006 GB, free: 480 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.01586, allocations: 279.2 kB / 1.006 GB, free: 192 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.01588, allocations: 25.7 kB / 1.006 GB, free: 160 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.016, allocations: 116.1 kB / 1.006 GB, free: 40 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.01605, allocations: 27.78 kB / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.11e-05/0.01614, allocations: 25.72 kB / 1.006 GB, free: 15.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.01634, allocations: 334.8 kB / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.01644, allocations: 31.98 kB / 1.006 GB, free: 15.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.0166, allocations: 76.27 kB / 1.006 GB, free: 15.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.01684, allocations: 85.88 kB / 1.007 GB, free: 15.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01685, allocations: 0 / 1.007 GB, free: 15.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000348/0.01719, allocations: 121.5 kB / 1.007 GB, free: 15.31 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.01722, allocations: 4 kB / 1.007 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.01723, allocations: 4 kB / 1.007 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01724, allocations: 0 / 1.007 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01736, allocations: 12.06 kB / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.01736, allocations: 0 / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01747, allocations: 12.05 kB / 1.007 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01748, allocations: 7.938 kB / 1.007 GB, free: 15.27 MB / 0.92 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.0002058/0.01769, allocations: 150.3 kB / 1.007 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.01774, allocations: 19.84 kB / 1.007 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.01814, allocations: 131.1 kB / 1.007 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.01815, allocations: 4 kB / 1.007 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.01816, allocations: 0 / 1.007 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01816, allocations: 4 kB / 1.007 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.01844, allocations: 173.1 kB / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01844, allocations: 0 / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.01848, allocations: 4 kB / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01849, allocations: 0 / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.0185, allocations: 0 / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.01851, allocations: 4 kB / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01851, allocations: 0 / 1.007 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.01889, allocations: 160.8 kB / 1.007 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.01894, allocations: 19.86 kB / 1.007 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.01899, allocations: 11.98 kB / 1.007 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.01908, allocations: 8 kB / 1.007 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.01915, allocations: 3.984 kB / 1.007 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.01917, allocations: 4 kB / 1.007 GB, free: 14.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003192/0.01948, allocations: 196.7 kB / 1.008 GB, free: 14.33 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01949, allocations: 0 / 1.008 GB, free: 14.33 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004559/0.01994, allocations: 35.92 kB / 1.008 GB, free: 14.3 MB / 0.92 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.002288/0.02223, allocations: 454.1 kB / 1.008 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.02255, allocations: 79.84 kB / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.02255, allocations: 0 / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.02268, allocations: 39.98 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.02317, allocations: 55.86 kB / 1.008 GB, free: 13.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.024, allocations: 310 kB / 1.008 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.02416, allocations: 114.7 kB / 1.009 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.02427, allocations: 25.55 kB / 1.009 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.02434, allocations: 20.44 kB / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/0.02434, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of Templates: time 0.007224/0.03156, allocations: 2.412 MB / 1.011 GB, free: 10.98 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.987495880573988]