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.001337/0.001337, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001501/0.001501, allocations: 219.4 kB / 23.01 MB, free: 4.609 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.152/3.152, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 69.64 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003756/0.3432, allocations: 1.821 MB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3454, allocations: 1.2 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3455, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006919/0.3462, allocations: 167.5 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.3467, allocations: 155.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.3471, allocations: 142.6 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.3474, allocations: 175.5 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3475, allocations: 17.31 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.3477, allocations: 79.62 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3478, allocations: 79.72 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.3478, allocations: 8 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.348, allocations: 71.89 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3481, allocations: 47.83 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.232e-05/0.3482, allocations: 59.61 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3486, allocations: 215 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3486, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3486, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3486, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 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.0007932/0.3494, allocations: 430.9 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3494, allocations: 8.031 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3495, allocations: 20.8 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3498, allocations: 186.9 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3498, allocations: 12.36 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3498, allocations: 8.125 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.35, allocations: 87.33 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.35, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.35, allocations: 7.984 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.35, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.3501, allocations: 31.98 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3507, allocations: 323.7 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3509, allocations: 74.67 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.3509, allocations: 36.84 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.351, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3512, allocations: 87.3 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3512, allocations: 0 / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.00035/0.3515, allocations: 145.7 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3516, allocations: 89.05 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3519, allocations: 275.1 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.352, allocations: 25.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.3521, allocations: 116.1 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3521, allocations: 31.78 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.3521, allocations: 29.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3523, allocations: 338.8 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.3524, allocations: 31.98 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.3525, allocations: 51.42 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3526, allocations: 73.64 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3526, allocations: 112 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002324/0.3529, allocations: 125.4 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3529, allocations: 5.719 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3529, allocations: 4.062 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3529, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.353, allocations: 15.98 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.353, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.353, allocations: 11.94 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.353, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 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.0001411/0.3532, allocations: 150.3 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3532, allocations: 23.84 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.3535, allocations: 135 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3535, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3535, allocations: 7.938 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3535, allocations: 3.938 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3537, allocations: 192.7 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3537, allocations: 0 / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.3537, allocations: 7.984 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3537, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3537, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3537, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3537, allocations: 4 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.354, allocations: 148.8 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.354, allocations: 19.89 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.354, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.3541, allocations: 8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3541, allocations: 7.984 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3542, allocations: 3.938 kB / 1.335 GB, free: 9.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000216/0.3544, allocations: 212.6 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002499/0.3546, allocations: 27.94 kB / 1.335 GB, free: 9.316 MB / 1.029 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.001588/0.3562, allocations: 429.4 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3564, allocations: 67.91 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3564, allocations: 0 / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.3565, allocations: 36.05 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3568, allocations: 44.03 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.3575, allocations: 352.3 kB / 1.336 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3578, allocations: 0.7241 MB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3579, allocations: 19.44 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3579, allocations: 0 / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of Templates: time 0.004946/0.3628, allocations: 2.615 MB / 1.339 GB, free: 5.16 MB / 1.029 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/jenkins1/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: 11.7377806599834]