Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001428/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001746/0.001746, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 67.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6742, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003162/0.6774, allocations: 1.84 MB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.6789, allocations: 1.002 MB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.679, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.6795, allocations: 155.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.6798, allocations: 111.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.6802, allocations: 151.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.6804, allocations: 175.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.6805, allocations: 25.09 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.904e-05/0.6806, allocations: 63.72 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.6808, allocations: 75.73 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.6808, allocations: 8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.6809, allocations: 71.89 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.681, allocations: 39.84 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.6811, allocations: 59.61 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.6814, allocations: 193.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6814, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6814, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6814, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 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.0007058/0.6821, allocations: 496.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6822, allocations: 12.03 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.6822, allocations: 20.75 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.6825, allocations: 237 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6825, allocations: 4.375 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.6826, allocations: 16.11 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6828, allocations: 87.27 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.6828, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6828, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.6828, allocations: 7.984 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.6829, allocations: 39.98 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.6834, allocations: 356.6 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.6836, allocations: 74.61 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.6837, allocations: 36.84 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.6838, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.6839, allocations: 87.31 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.684, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003498/0.6843, allocations: 145.4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.6844, allocations: 77.11 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.6846, allocations: 266.9 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6846, allocations: 33.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.6847, allocations: 119.9 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.6848, allocations: 15.81 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.6848, allocations: 33.69 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6849, allocations: 334.8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.685, allocations: 23.98 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.6851, allocations: 63.36 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.6852, allocations: 73.62 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6852, allocations: 4 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001888/0.6854, allocations: 113.4 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6854, allocations: 4.109 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6855, allocations: 3.938 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.6855, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.6856, allocations: 8 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6856, allocations: 4.062 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.6856, allocations: 23.77 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.6856, allocations: 4 kB / 1.023 GB, free: 11.73 MB / 0.7794 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.0001193/0.6858, allocations: 138.3 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6858, allocations: 19.81 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.6858, allocations: 21.77 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.6859, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6859, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6859, allocations: 7.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.6861, allocations: 221.5 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6861, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.6861, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6861, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6861, allocations: 7.984 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6861, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6861, allocations: 3.984 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.6864, allocations: 148.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.6864, allocations: 92.86 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.6865, allocations: 11.98 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.6865, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.6866, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.6866, allocations: 11.92 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001678/0.6868, allocations: 192.6 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6868, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002375/0.687, allocations: 27.91 kB / 1.024 GB, free: 10.73 MB / 0.7794 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.001006/0.688, allocations: 426.8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.6883, allocations: 79.91 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6883, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.6884, allocations: 35.98 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.6887, allocations: 44.27 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.6892, allocations: 331.1 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.6895, allocations: 0.724 MB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.111e-05/0.6895, allocations: 25.72 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.6896, allocations: 19.44 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6896, allocations: 0 / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.005096/0.6947, allocations: 2.243 MB / 1.028 GB, free: 6.949 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches