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.001231/0.001231, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002813, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001124/0.001124, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002593, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09308/1.138, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5046/2.423, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.799e-05, allocations: 3.297 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002711/0.002739, allocations: 1.902 MB / 0.7312 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004371, allocations: 1.164 MB / 0.7323 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004481, allocations: 3.938 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.004941, allocations: 162.2 kB / 0.7325 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.005254, allocations: 157.1 kB / 0.7326 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.005619, allocations: 145.3 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.005848, allocations: 178 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.005945, allocations: 19.39 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.006114, allocations: 120.5 kB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.006219, allocations: 67.8 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.006237, allocations: 8 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.006385, allocations: 76.47 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.006454, allocations: 40.55 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.006496, allocations: 27.88 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.006721, allocations: 145.2 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.789e-05/0.006739, allocations: 0 / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00674, allocations: 0 / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.006755, allocations: 3.938 kB / 0.7334 GB, free: 376 kB / 0.698 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.0005824/0.007337, allocations: 433 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.007382, allocations: 8.969 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.007434, allocations: 8.938 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.007668, allocations: 192.7 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007686, allocations: 384 / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.007699, allocations: 8.125 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.007826, allocations: 60.42 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.007833, allocations: 0.7812 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.007842, allocations: 0 / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.007864, allocations: 4 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.007899, allocations: 16.92 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.008217, allocations: 205.7 kB / 0.7343 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.008316, allocations: 94.16 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.008342, allocations: 17.53 kB / 0.7344 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.008353, allocations: 0.625 kB / 0.7344 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.008456, allocations: 71.92 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/0.008458, allocations: 0 / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000127/0.008585, allocations: 73.61 kB / 0.7346 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.008611, allocations: 55.41 kB / 0.7346 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.008746, allocations: 220.1 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.008763, allocations: 30.38 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.008805, allocations: 104.6 kB / 0.735 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.008829, allocations: 28.66 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.008863, allocations: 29.62 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.008946, allocations: 331.3 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.008967, allocations: 20.05 kB / 0.7354 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.009007, allocations: 56.2 kB / 0.7354 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.009052, allocations: 44.06 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009054, allocations: 0 / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.682e-05/0.009141, allocations: 73.03 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.009154, allocations: 4.656 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.009159, allocations: 0 / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.009168, allocations: 5.156 kB / 0.7355 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.00923, allocations: 15.94 kB / 0.7356 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009234, allocations: 4 kB / 0.7356 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.009271, allocations: 8.969 kB / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.009277, allocations: 4 kB / 0.7356 GB, free: 14 MB / 0.7136 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.382e-05/0.009361, allocations: 129.7 kB / 0.7357 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.009376, allocations: 17.75 kB / 0.7357 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.009488, allocations: 79.12 kB / 0.7358 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.009498, allocations: 0 / 0.7358 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.0095, allocations: 7.984 kB / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.009504, allocations: 1.219 kB / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.009612, allocations: 105.8 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.009615, allocations: 3.938 kB / 0.7359 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.009636, allocations: 4.75 kB / 0.7359 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.009656, allocations: 23.83 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009658, allocations: 4.5 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.009664, allocations: 4 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009666, allocations: 0.75 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009667, allocations: 0 / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.009754, allocations: 103.9 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.009771, allocations: 0 / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.009797, allocations: 11.98 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.009824, allocations: 8.859 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.00983, allocations: 0 / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.009895, allocations: 81.84 kB / 0.7361 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009895, allocations: 0 / 0.7361 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001492/0.01004, allocations: 31.89 kB / 0.7362 GB, free: 13.34 MB / 0.7136 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.001328/0.01137, allocations: 0.5601 MB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01149, allocations: 44.72 kB / 0.7368 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.0115, allocations: 4 kB / 0.7368 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.01153, allocations: 30.48 kB / 0.7368 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.0117, allocations: 54.55 kB / 0.7368 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.01226, allocations: 284.2 kB / 0.7371 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.0123, allocations: 75.83 kB / 0.7372 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.01234, allocations: 21.78 kB / 0.7372 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.01242, allocations: 71.36 kB / 0.7373 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/0.01242, allocations: 0 / 0.7373 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.005141/0.01756, allocations: 2.676 MB / 0.7399 GB, free: 9.93 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.081654980778694]