Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.001763/0.001763, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001984/0.001984, allocations: 186 kB / 20.78 MB, free: 1.547 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003136/0.3341, allocations: 1.833 MB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3352, allocations: 0.5455 MB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3353, allocations: 7.938 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3354, allocations: 23.72 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.3355, allocations: 27.73 kB / 1.219 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.3357, allocations: 71.8 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.3359, allocations: 171.5 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3361, allocations: 37.64 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.3362, allocations: 59.73 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.3363, allocations: 59.62 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3363, allocations: 12 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.3363, allocations: 8 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.3363, allocations: 27.91 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.3364, allocations: 63.61 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3366, allocations: 139.2 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3366, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3366, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3366, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007593/0.3374, allocations: 482.5 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3374, allocations: 8.031 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.3375, allocations: 24.83 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.3378, allocations: 236 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3378, allocations: 8.375 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3379, allocations: 16.38 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.3382, allocations: 154 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3382, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3382, allocations: 4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3382, allocations: 4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.3384, allocations: 79.81 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.3394, allocations: 0.7356 MB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3395, allocations: 42.56 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3397, allocations: 32.83 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3397, allocations: 7.938 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3399, allocations: 126.7 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.3399, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004894/0.3404, allocations: 173.4 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.3405, allocations: 140.7 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.3407, allocations: 199 kB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3407, allocations: 29.7 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.3408, allocations: 131.9 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.3409, allocations: 39.88 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.3409, allocations: 37.7 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3411, allocations: 330.8 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3412, allocations: 35.97 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3414, allocations: 152.3 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.3417, allocations: 202.4 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3417, allocations: 0 / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004269/0.3422, allocations: 217.4 kB / 1.223 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3422, allocations: 4 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3422, allocations: 7.984 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3422, allocations: 8 kB / 1.223 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3423, allocations: 31.92 kB / 1.223 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.3424, allocations: 4 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3425, allocations: 27.88 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3425, allocations: 16.2 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0001214/0.3426, allocations: 143.1 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3427, allocations: 15.91 kB / 1.223 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.3427, allocations: 21.39 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3427, allocations: 4 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3427, allocations: 0 / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3427, allocations: 0 / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.3435, allocations: 0.5171 MB / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3435, allocations: 0 / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3437, allocations: 15.98 kB / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3437, allocations: 0 / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.3437, allocations: 8 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3437, allocations: 0 / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3437, allocations: 3.938 kB / 1.223 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.3442, allocations: 371 kB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.3443, allocations: 93.05 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3443, allocations: 8.312 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3445, allocations: 15.98 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3445, allocations: 19.92 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3445, allocations: 7.938 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001288/0.3447, allocations: 144.3 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 0 / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003287/0.345, allocations: 28 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000132/0.3451, allocations: 115.2 kB / 1.224 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3455, allocations: 108.1 kB / 1.224 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3455, allocations: 4 kB / 1.224 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3456, allocations: 44.91 kB / 1.224 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.3462, allocations: 65.81 kB / 1.224 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.3468, allocations: 367.7 kB / 1.225 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3472, allocations: 0.7242 MB / 1.225 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.291e-05/0.3472, allocations: 17.55 kB / 1.225 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.3473, allocations: 19.44 kB / 1.226 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3473, allocations: 0 / 1.226 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of Templates: time 0.00549/0.3528, allocations: 2.062 MB / 1.228 GB, free: 3.098 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegratorWithReset.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: 7.992787350900471]