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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002044/0.002044, allocations: 191 kB / 22.23 MB, free: 5.16 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.426/1.426, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003171/0.003171, allocations: 67.89 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8092, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003472/0.8127, allocations: 1.791 MB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.8146, allocations: 1.047 MB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.8147, allocations: 4.906 kB / 1.221 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.8153, allocations: 174.1 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.8157, allocations: 117.6 kB / 1.222 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.8162, allocations: 173.3 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.8164, allocations: 164.8 kB / 1.222 GB, free: 1.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.8165, allocations: 18.36 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.8166, allocations: 73.81 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.8168, allocations: 74.73 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.8168, allocations: 8 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.817, allocations: 80.06 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.8171, allocations: 40.25 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.8171, allocations: 59.95 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.8175, allocations: 200.8 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8175, allocations: 1.125 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8175, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8175, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.92 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.0007959/0.8183, allocations: 0.4915 MB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.8183, allocations: 9.188 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.8184, allocations: 24.5 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.8187, allocations: 256.8 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8188, allocations: 6.688 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.8188, allocations: 6.375 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.819, allocations: 88.53 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.819, allocations: 0 / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.819, allocations: 5.031 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.819, allocations: 3.188 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.8191, allocations: 39.17 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.8197, allocations: 358.4 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.8199, allocations: 68.7 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.82, allocations: 30.69 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.82, allocations: 6.094 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.8202, allocations: 84.55 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8202, allocations: 0 / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0003576/0.8205, allocations: 144.7 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.8206, allocations: 78.17 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.8209, allocations: 260.6 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.8209, allocations: 28 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.821, allocations: 127.6 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.821, allocations: 24.44 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.8211, allocations: 22.16 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8213, allocations: 336.2 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.8213, allocations: 22.38 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.8214, allocations: 62.12 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.8216, allocations: 76.27 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8216, allocations: 0 / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002229/0.8218, allocations: 123.9 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8218, allocations: 4.219 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8218, allocations: 1.125 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8218, allocations: 1.156 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.8219, allocations: 12.92 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8219, allocations: 1.062 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.822, allocations: 20.27 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.822, allocations: 2.406 kB / 1.225 GB, free: 14.29 MB / 0.9356 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.0001414/0.8221, allocations: 147.5 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.8222, allocations: 14.44 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.8224, allocations: 122.2 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8224, allocations: 3.188 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8224, allocations: 0 / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8224, allocations: 8.969 kB / 1.225 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.8227, allocations: 218.8 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8227, allocations: 3.938 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.8227, allocations: 7.281 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8227, allocations: 1.094 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.8227, allocations: 5.078 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.8227, allocations: 1.312 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8227, allocations: 0 / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.823, allocations: 161.7 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.45e-05/0.8231, allocations: 98.05 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.8231, allocations: 5.328 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.8232, allocations: 2.625 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.8232, allocations: 6.641 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.8232, allocations: 7.219 kB / 1.226 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001983/0.8234, allocations: 200.4 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8234, allocations: 1.281 kB / 1.226 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002603/0.8237, allocations: 30.39 kB / 1.226 GB, free: 13.42 MB / 0.9356 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.001579/0.8253, allocations: 421 kB / 1.226 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.8255, allocations: 68.44 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8255, allocations: 1.562 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.8256, allocations: 31.52 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.8259, allocations: 42.47 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.8265, allocations: 301.4 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.8269, allocations: 0.7272 MB / 1.228 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.317e-05/0.827, allocations: 27.25 kB / 1.228 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.8271, allocations: 20.31 kB / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.8271, allocations: 0 / 1.228 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.006546/0.8336, allocations: 2.346 MB / 1.23 GB, free: 11.01 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.675418378785253]