Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.001142/0.001142, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009761/0.0009761, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 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 0.9132/0.9132, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.86/1.86, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.499e-05, allocations: 6.359 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002387/0.002422, allocations: 1.824 MB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000775/0.003197, allocations: 0.5591 MB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.00328, allocations: 7.938 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.003388, allocations: 23.73 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.003444, allocations: 33.08 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.003599, allocations: 60.55 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.003753, allocations: 179.5 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003858, allocations: 38.56 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.00395, allocations: 79.8 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.004006, allocations: 40.53 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.004028, allocations: 15.94 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.004042, allocations: 13.25 kB / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.00407, allocations: 31.83 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.004106, allocations: 39.86 kB / 0.7904 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.004221, allocations: 93.23 kB / 0.7905 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004223, allocations: 3.938 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004224, allocations: 0 / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.004228, allocations: 0 / 0.7905 GB, free: 9.152 MB / 0.7448 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.0004481/0.004676, allocations: 0.5186 MB / 0.791 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.004709, allocations: 12.03 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.004746, allocations: 28.8 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.004904, allocations: 184.2 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.004913, allocations: 8.375 kB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.004936, allocations: 12.38 kB / 0.7913 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.005083, allocations: 149.3 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.00509, allocations: 4.891 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.005099, allocations: 6.031 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.005107, allocations: 7.938 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/0.005147, allocations: 29.64 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.005669, allocations: 0.8643 MB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.005717, allocations: 35 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.005736, allocations: 16.86 kB / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.005753, allocations: 0 / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.005856, allocations: 120.6 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.005857, allocations: 0 / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001715/0.006029, allocations: 114.8 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.006077, allocations: 136.5 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.006185, allocations: 240.3 kB / 0.7929 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.006198, allocations: 29.7 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.006266, allocations: 178.6 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.006291, allocations: 44.47 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.006338, allocations: 47.34 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.006459, allocations: 0.4974 MB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.006482, allocations: 11.98 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.006566, allocations: 168.8 kB / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.006694, allocations: 204.6 kB / 0.7941 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006696, allocations: 0 / 0.7941 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001472/0.006844, allocations: 164.1 kB / 0.7942 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006857, allocations: 13.16 kB / 0.7942 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.006869, allocations: 4 kB / 0.7942 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.006883, allocations: 4 kB / 0.7943 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.006951, allocations: 36.89 kB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006957, allocations: 7.938 kB / 0.7943 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.007016, allocations: 26.12 kB / 0.7943 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.007024, allocations: 8 kB / 0.7943 GB, free: 4.863 MB / 0.7448 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,intNoReset.trigger_internal,intDef.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 7.742e-05/0.007102, allocations: 174.7 kB / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.007124, allocations: 27.84 kB / 0.7945 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.007151, allocations: 17.45 kB / 0.7945 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007152, allocations: 3.25 kB / 0.7945 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.007155, allocations: 4 kB / 0.7945 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007158, allocations: 0 / 0.7945 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.007485, allocations: 489.3 kB / 0.795 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.007488, allocations: 3.938 kB / 0.795 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.007533, allocations: 12 kB / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007536, allocations: 4 kB / 0.795 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007544, allocations: 0 / 0.795 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007547, allocations: 13.02 kB / 0.795 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007548, allocations: 3.938 kB / 0.795 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.007741, allocations: 390.3 kB / 0.7954 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.007757, allocations: 20.28 kB / 0.7954 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.007772, allocations: 8.547 kB / 0.7954 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.007844, allocations: 8.562 kB / 0.7955 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.007879, allocations: 11.97 kB / 0.7955 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.007886, allocations: 8.75 kB / 0.7955 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.007945, allocations: 161.4 kB / 0.7956 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007945, allocations: 1.219 kB / 0.7956 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002019/0.008147, allocations: 27.98 kB / 0.7957 GB, free: 3.445 MB / 0.7448 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 7.62e-05/0.008223, allocations: 108.6 kB / 0.7958 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.008329, allocations: 78.83 kB / 0.7958 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.00833, allocations: 5.688 kB / 0.7958 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.008369, allocations: 39.59 kB / 0.7959 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.008674, allocations: 63.73 kB / 0.7959 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.00904, allocations: 343.4 kB / 0.7963 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.009086, allocations: 71.98 kB / 0.7963 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.009134, allocations: 21.66 kB / 0.7964 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.009223, allocations: 107.1 kB / 0.7965 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.009223, allocations: 0 / 0.7965 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003569/0.01279, allocations: 2.321 MB / 0.7987 GB, free: 300 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.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: 4.947914654854685]