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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 192 kB / 22.11 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.929/2.929, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002611/0.002611, allocations: 63.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.019, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002674/1.022, allocations: 1.807 MB / 1.309 GB, free: 32.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00134/1.023, allocations: 1.041 MB / 1.31 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/1.023, allocations: 3.938 kB / 1.31 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/1.024, allocations: 178.9 kB / 1.31 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/1.024, allocations: 116 kB / 1.31 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/1.024, allocations: 173.5 kB / 1.31 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/1.025, allocations: 159.8 kB / 1.31 GB, free: 31.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/1.025, allocations: 18.12 kB / 1.31 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/1.025, allocations: 77.23 kB / 1.31 GB, free: 31.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/1.025, allocations: 75.25 kB / 1.31 GB, free: 31.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/1.025, allocations: 8.469 kB / 1.31 GB, free: 31.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/1.025, allocations: 70.5 kB / 1.31 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/1.025, allocations: 44.92 kB / 1.31 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/1.025, allocations: 62.45 kB / 1.31 GB, free: 31.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/1.025, allocations: 198.9 kB / 1.311 GB, free: 31.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.025, allocations: 0 / 1.311 GB, free: 31.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/1.025, allocations: 0 / 1.311 GB, free: 31.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.025, allocations: 0 / 1.311 GB, free: 31.32 MB / 1.061 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.0005805/1.026, allocations: 432.1 kB / 1.311 GB, free: 30.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/1.026, allocations: 12.34 kB / 1.311 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/1.026, allocations: 17.25 kB / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/1.026, allocations: 190 kB / 1.311 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.026, allocations: 7.266 kB / 1.311 GB, free: 30.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/1.026, allocations: 14.47 kB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/1.026, allocations: 87.36 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.026, allocations: 4 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.026, allocations: 0 / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/1.027, allocations: 2.875 kB / 1.311 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/1.027, allocations: 39.42 kB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/1.027, allocations: 321.3 kB / 1.312 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/1.027, allocations: 76.39 kB / 1.312 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/1.027, allocations: 30.2 kB / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/1.027, allocations: 0 / 1.312 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/1.027, allocations: 81.56 kB / 1.312 GB, free: 30.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.027, allocations: 0 / 1.312 GB, free: 30.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003187/1.028, allocations: 150.1 kB / 1.312 GB, free: 30.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.028, allocations: 77.11 kB / 1.312 GB, free: 30.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/1.028, allocations: 265.8 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/1.028, allocations: 25.7 kB / 1.312 GB, free: 29.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/1.028, allocations: 120.3 kB / 1.313 GB, free: 29.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/1.028, allocations: 18.61 kB / 1.313 GB, free: 29.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/1.028, allocations: 33.78 kB / 1.313 GB, free: 29.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/1.028, allocations: 335.5 kB / 1.313 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/1.028, allocations: 25.81 kB / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/1.028, allocations: 64.7 kB / 1.313 GB, free: 29.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/1.028, allocations: 71.75 kB / 1.313 GB, free: 29.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.028, allocations: 0 / 1.313 GB, free: 29.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001708/1.029, allocations: 109 kB / 1.313 GB, free: 29.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.029, allocations: 19.92 kB / 1.313 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.029, allocations: 0 / 1.313 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.029, allocations: 10.78 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/1.029, allocations: 8.969 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/1.029, allocations: 160 / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/1.029, allocations: 22.14 kB / 1.313 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/1.029, allocations: 6.734 kB / 1.313 GB, free: 29.24 MB / 1.061 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 8.472e-05/1.029, allocations: 143.2 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.029, allocations: 16.72 kB / 1.313 GB, free: 29.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/1.029, allocations: 132 kB / 1.313 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.029, allocations: 2.531 kB / 1.313 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.029, allocations: 0 / 1.313 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.029, allocations: 3.938 kB / 1.314 GB, free: 29.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/1.029, allocations: 193.6 kB / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.029, allocations: 0 / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/1.029, allocations: 2.875 kB / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/1.029, allocations: 2.969 kB / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.029, allocations: 0 / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.029, allocations: 0 / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.029, allocations: 0 / 1.314 GB, free: 28.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/1.029, allocations: 154.5 kB / 1.314 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/1.029, allocations: 21.84 kB / 1.314 GB, free: 28.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/1.029, allocations: 2.656 kB / 1.314 GB, free: 28.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/1.03, allocations: 6.828 kB / 1.314 GB, free: 28.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/1.03, allocations: 5.906 kB / 1.314 GB, free: 28.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/1.03, allocations: 6.812 kB / 1.314 GB, free: 28.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001345/1.03, allocations: 200.1 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 7.938 kB / 1.314 GB, free: 28.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002351/1.03, allocations: 30.62 kB / 1.314 GB, free: 28.59 MB / 1.061 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 (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.001447/1.031, allocations: 419.9 kB / 1.315 GB, free: 28.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001962/1.032, allocations: 66.91 kB / 1.315 GB, free: 28.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.032, allocations: 0 / 1.315 GB, free: 28.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-05/1.032, allocations: 34.94 kB / 1.315 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.032, allocations: 39.67 kB / 1.315 GB, free: 28.36 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/1.032, allocations: 304.2 kB / 1.315 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/1.033, allocations: 0.7263 MB / 1.316 GB, free: 27.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.295e-05/1.033, allocations: 24.84 kB / 1.316 GB, free: 27.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/1.033, allocations: 22.42 kB / 1.316 GB, free: 27.44 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/1.033, allocations: 0 / 1.316 GB, free: 27.44 MB / 1.061 GB Notification: Performance of Templates: time 0.005481/1.038, allocations: 2.336 MB / 1.318 GB, free: 27.2 MB / 1.061 GB " [Timeout remaining time 299] 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: 9.454242289066315]