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.0009158/0.0009158, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009294/0.0009294, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.697/1.697, allocations: 359 MB / 0.6052 GB, free: 10.93 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.493e-06/1.493e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.239e-05, allocations: 5.703 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002114/0.002136, allocations: 1.852 MB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.002913, allocations: 0.5635 MB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.003, allocations: 3.938 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003128, allocations: 27.67 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.003188, allocations: 28.78 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.003378, allocations: 64.48 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.00356, allocations: 180 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003674, allocations: 41.7 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.003767, allocations: 72.72 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.003823, allocations: 39.88 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.003848, allocations: 12.59 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.003863, allocations: 12 kB / 0.7899 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.003891, allocations: 33.55 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.003937, allocations: 39.84 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.00407, allocations: 95.58 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004072, allocations: 0 / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004073, allocations: 0 / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004078, allocations: 5.344 kB / 0.7901 GB, free: 9.367 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.0004965/0.004574, allocations: 0.5163 MB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004607, allocations: 8.031 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.00466, allocations: 28.8 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.004844, allocations: 183.8 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004856, allocations: 12.38 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.004886, allocations: 12.38 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.005064, allocations: 148.4 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.005074, allocations: 4.125 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.005087, allocations: 8.359 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.005097, allocations: 7.938 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.005158, allocations: 32.64 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.005871, allocations: 0.8982 MB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.536e-05/0.005936, allocations: 31.69 kB / 0.7919 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.005966, allocations: 20.73 kB / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.005982, allocations: 4 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.006098, allocations: 120.2 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.0061, allocations: 1.312 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002144/0.006314, allocations: 113.4 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.006363, allocations: 137.6 kB / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.006488, allocations: 239.3 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.006502, allocations: 29.7 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.006572, allocations: 183.3 kB / 0.7927 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.006596, allocations: 35.69 kB / 0.7928 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.006642, allocations: 52.23 kB / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.006745, allocations: 0.4923 MB / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.006778, allocations: 16.89 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.006871, allocations: 174.6 kB / 0.7935 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.007015, allocations: 204.9 kB / 0.7937 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007018, allocations: 0 / 0.7937 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001736/0.007191, allocations: 180.5 kB / 0.7939 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007206, allocations: 8 kB / 0.7939 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.007211, allocations: 4.781 kB / 0.7939 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.007225, allocations: 4 kB / 0.7939 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.007304, allocations: 33.08 kB / 0.7939 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.007311, allocations: 4 kB / 0.7939 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.007376, allocations: 31.86 kB / 0.7939 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.007385, allocations: 8.906 kB / 0.7939 GB, free: 5.012 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,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 7.217e-05/0.007457, allocations: 170.2 kB / 0.7941 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.007477, allocations: 23.84 kB / 0.7941 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.007506, allocations: 25.39 kB / 0.7942 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.00751, allocations: 4 kB / 0.7942 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.007514, allocations: 0 / 0.7942 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.007518, allocations: 4.625 kB / 0.7942 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.007884, allocations: 0.505 MB / 0.7947 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007887, allocations: 7.938 kB / 0.7947 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.007936, allocations: 12.92 kB / 0.7947 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.007939, allocations: 4 kB / 0.7947 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.007954, allocations: 5.219 kB / 0.7947 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.007957, allocations: 4 kB / 0.7947 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007958, allocations: 0 / 0.7947 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.008173, allocations: 403 kB / 0.7951 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.008188, allocations: 11.91 kB / 0.7951 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.008205, allocations: 5.344 kB / 0.7951 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.008276, allocations: 11.98 kB / 0.7951 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.008316, allocations: 11.92 kB / 0.7951 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.008324, allocations: 15.7 kB / 0.7951 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.00839, allocations: 169.4 kB / 0.7953 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00839, allocations: 0 / 0.7953 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002092/0.008599, allocations: 28 kB / 0.7953 GB, free: 3.543 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 8.581e-05/0.008685, allocations: 113.4 kB / 0.7954 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.008831, allocations: 77.44 kB / 0.7955 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008832, allocations: 0 / 0.7955 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.904e-05/0.008881, allocations: 40.73 kB / 0.7955 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.009229, allocations: 71.28 kB / 0.7956 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.009653, allocations: 342.5 kB / 0.7959 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.172e-05/0.009705, allocations: 72.95 kB / 0.796 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.301e-05/0.009758, allocations: 18.84 kB / 0.796 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.009797, allocations: 21.88 kB / 0.796 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.009798, allocations: 0 / 0.796 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.004127/0.01393, allocations: 2.27 MB / 0.7983 GB, free: 0.5156 MB / 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.8365075113251805]