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.00178/0.00178, allocations: 96.81 kB / 19.44 MB, free: 328 kB / 13.93 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.00222/0.00222, allocations: 157.3 kB / 22.75 MB, free: 1.664 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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 3.227/3.227, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.272e-06/1.272e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.599e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003651/0.003677, allocations: 1.803 MB / 0.8793 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.005908, allocations: 1.109 MB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.006001, allocations: 4 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.006693, allocations: 173.6 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.007139, allocations: 160.2 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.007554, allocations: 132.8 kB / 0.8809 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.007845, allocations: 181 kB / 0.8811 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.007943, allocations: 21.23 kB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.00812, allocations: 95.72 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.008256, allocations: 63.81 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.008285, allocations: 17.33 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.008461, allocations: 63.89 kB / 0.8813 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.008548, allocations: 47.83 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.008616, allocations: 31.88 kB / 0.8814 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.008972, allocations: 210.5 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.008975, allocations: 0 / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.008976, allocations: 0 / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.00898, allocations: 0 / 0.8816 GB, free: 2.426 MB / 0.8386 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.0008117/0.009792, allocations: 434.9 kB / 0.882 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.009829, allocations: 8.031 kB / 0.882 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.009909, allocations: 28.73 kB / 0.882 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01025, allocations: 194 kB / 0.8822 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.01027, allocations: 8.375 kB / 0.8822 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.01029, allocations: 5.703 kB / 0.8822 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.01049, allocations: 74.22 kB / 0.8823 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.0105, allocations: 3.938 kB / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.01051, allocations: 4 kB / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.01053, allocations: 4 kB / 0.8823 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.01064, allocations: 43.91 kB / 0.8824 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.01119, allocations: 284.5 kB / 0.8826 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01142, allocations: 78.55 kB / 0.8827 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.0115, allocations: 32.84 kB / 0.8827 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.01152, allocations: 0 / 0.8827 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.01171, allocations: 83.38 kB / 0.8828 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.01171, allocations: 4 kB / 0.8828 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0004251/0.01214, allocations: 161.4 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.01219, allocations: 55.39 kB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.01254, allocations: 271.9 kB / 0.8833 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.01257, allocations: 25.7 kB / 0.8833 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01267, allocations: 120.1 kB / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.01271, allocations: 27.75 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.01277, allocations: 33.7 kB / 0.8835 GB, free: 328 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01297, allocations: 326.8 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.01305, allocations: 31.92 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.01317, allocations: 92.3 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.01335, allocations: 77.58 kB / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01335, allocations: 0 / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002507/0.0136, allocations: 117.5 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01361, allocations: 4 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01362, allocations: 0 / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.01364, allocations: 4 kB / 0.8841 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.01373, allocations: 15.92 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01373, allocations: 0 / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.0138, allocations: 16 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01381, allocations: 4 kB / 0.8841 GB, free: 15.61 MB / 0.8542 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.0001534/0.01396, allocations: 145.8 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.01401, allocations: 23.84 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.01431, allocations: 131 kB / 0.8844 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.01433, allocations: 8 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01433, allocations: 0 / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01433, allocations: 0 / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.01455, allocations: 161.2 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01455, allocations: 4 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.01458, allocations: 7.938 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01459, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.0146, allocations: 7.984 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01461, allocations: 0 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01461, allocations: 0 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.0149, allocations: 156.9 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.01494, allocations: 19.89 kB / 0.8848 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01497, allocations: 7.938 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.01502, allocations: 0 / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.01508, allocations: 15.98 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01509, allocations: 4 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002391/0.01533, allocations: 208.5 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 0 / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002613/0.01559, allocations: 31.94 kB / 0.885 GB, free: 14.63 MB / 0.8542 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.002009/0.0176, allocations: 456 kB / 0.8855 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.01784, allocations: 75.91 kB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01784, allocations: 4.062 kB / 0.8855 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/0.01793, allocations: 31.98 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01827, allocations: 61.38 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.01891, allocations: 321 kB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.01905, allocations: 114.8 kB / 0.886 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.842e-05/0.01913, allocations: 21.48 kB / 0.8861 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.01918, allocations: 20.5 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01918, allocations: 0 / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.006968/0.02615, allocations: 2.425 MB / 0.8885 GB, free: 11.3 MB / 0.8542 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: 8.193802246009]