Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001566/0.001566, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476 MB / 0.7699 GB, free: 4.992 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002158/0.002158, allocations: 66.58 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003587/0.3212, allocations: 1.79 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3233, allocations: 1.12 MB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.3234, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.3242, allocations: 174.6 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.3246, allocations: 167.3 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.325, allocations: 127.7 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3253, allocations: 179.5 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3254, allocations: 21.28 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3255, allocations: 67.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3257, allocations: 79.67 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.3257, allocations: 8 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3259, allocations: 71.94 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.326, allocations: 43.84 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.3261, allocations: 51.59 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3264, allocations: 211.1 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3264, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3264, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3264, allocations: 4 kB / 1.287 GB, free: 7.926 MB / 0.9825 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.0008603/0.3273, allocations: 434.8 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3273, allocations: 8.031 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.3274, allocations: 16.84 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3277, allocations: 190.2 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3278, allocations: 4.375 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3278, allocations: 8.125 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.328, allocations: 73.66 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.328, allocations: 4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.328, allocations: 4 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.328, allocations: 7.922 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3281, allocations: 31.98 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.3287, allocations: 292.3 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3289, allocations: 74.61 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.329, allocations: 36.84 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.329, allocations: 0 / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.3292, allocations: 83.38 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/0.3292, allocations: 4 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003838/0.3296, allocations: 145.4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3296, allocations: 55.41 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.33, allocations: 275.1 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.33, allocations: 29.7 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.3301, allocations: 124.2 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3302, allocations: 31.72 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3302, allocations: 21.72 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.3304, allocations: 334.8 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.3305, allocations: 31.92 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3306, allocations: 84.27 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3308, allocations: 77.69 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3308, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002429/0.331, allocations: 121.5 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.331, allocations: 4 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.331, allocations: 0 / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3311, allocations: 0 / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3312, allocations: 23.92 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3312, allocations: 4.062 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.3312, allocations: 4 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3312, allocations: 4 kB / 1.29 GB, free: 5.133 MB / 0.9825 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.0001613/0.3314, allocations: 141.8 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3314, allocations: 20.23 kB / 1.29 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.3317, allocations: 142.9 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3317, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3317, allocations: 4 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3317, allocations: 7.922 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.332, allocations: 165.1 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.332, allocations: 0 / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.332, allocations: 4 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.332, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.332, allocations: 8 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.332, allocations: 0 / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.332, allocations: 0 / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3323, allocations: 156.9 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.3323, allocations: 11.91 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3323, allocations: 3.984 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.3324, allocations: 11.94 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.3324, allocations: 11.98 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3325, allocations: 7.984 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002477/0.3327, allocations: 200.6 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3327, allocations: 0 / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002702/0.333, allocations: 31.94 kB / 1.29 GB, free: 4.156 MB / 0.9825 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.001815/0.3348, allocations: 451.3 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.3351, allocations: 79.83 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3351, allocations: 4.062 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.3352, allocations: 31.98 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3355, allocations: 41.45 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.3362, allocations: 310.7 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3363, allocations: 114.6 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.3364, allocations: 25.41 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.3364, allocations: 23.42 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3364, allocations: 0 / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.006614/0.343, allocations: 2.498 MB / 1.294 GB, free: 0.7695 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.874444952234626]