Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.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.001141/0.001141, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001232/0.001232, allocations: 169.4 kB / 24.06 MB, free: 456 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 1.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.12/2.12, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8795 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.295e-05, allocations: 9.719 kB / 0.8795 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001466/0.001489, allocations: 0.8704 MB / 0.8803 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.00307, allocations: 1.226 MB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.003132, allocations: 1.031 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.003166, allocations: 7.875 kB / 0.8815 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.003269, allocations: 24.33 kB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.003698, allocations: 152.4 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.003888, allocations: 164.7 kB / 0.8819 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.004012, allocations: 29.3 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.004165, allocations: 99.78 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.004277, allocations: 52.73 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.004303, allocations: 13.09 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.004365, allocations: 23.98 kB / 0.8821 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.004398, allocations: 19.92 kB / 0.8821 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.004451, allocations: 48.48 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.004625, allocations: 115.7 kB / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004627, allocations: 0.9375 kB / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.51e-07/0.004628, allocations: 3.938 kB / 0.8822 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.004635, allocations: 0.7812 kB / 0.8822 GB, free: 3.109 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005998/0.005235, allocations: 0.5276 MB / 0.8828 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.005272, allocations: 8.031 kB / 0.8828 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.005323, allocations: 20.84 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.005493, allocations: 157.8 kB / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.005509, allocations: 12.36 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.005537, allocations: 16.38 kB / 0.883 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.005664, allocations: 74.92 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.005671, allocations: 192 / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005682, allocations: 4.375 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005688, allocations: 8.938 kB / 0.8831 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.005714, allocations: 16.52 kB / 0.8831 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.006167, allocations: 332.9 kB / 0.8834 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.006222, allocations: 43.83 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.006242, allocations: 11.69 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.006257, allocations: 1.531 kB / 0.8834 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.006365, allocations: 85.12 kB / 0.8835 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.006367, allocations: 7.922 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001804/0.006547, allocations: 97.52 kB / 0.8836 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.006585, allocations: 59.41 kB / 0.8837 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.006684, allocations: 196.2 kB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.006706, allocations: 33.7 kB / 0.8839 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.00678, allocations: 154.8 kB / 0.884 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.006799, allocations: 27.8 kB / 0.8841 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.00686, allocations: 55.33 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.006992, allocations: 0.4962 MB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.007047, allocations: 53.67 kB / 0.8847 GB, free: 436 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.007161, allocations: 184.3 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.00731, allocations: 205.4 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007312, allocations: 4 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002245/0.007537, allocations: 240.6 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.007567, allocations: 37.69 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.007573, allocations: 4 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.007584, allocations: 4.375 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.00765, allocations: 39.86 kB / 0.8853 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.007656, allocations: 4 kB / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.007748, allocations: 23.97 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.007765, allocations: 16 kB / 0.8854 GB, free: 15.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.852e-05/0.007854, allocations: 172.4 kB / 0.8856 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.00787, allocations: 19.89 kB / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.007899, allocations: 12.78 kB / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007902, allocations: 0 / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007903, allocations: 4 kB / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.007907, allocations: 0 / 0.8856 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.008184, allocations: 337.9 kB / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008185, allocations: 0 / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.008227, allocations: 11.98 kB / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.00823, allocations: 4 kB / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.008237, allocations: 0 / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.008239, allocations: 0 / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008239, allocations: 0 / 0.8859 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.008409, allocations: 256.1 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.008418, allocations: 15.95 kB / 0.8862 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.00843, allocations: 4 kB / 0.8862 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.008466, allocations: 3.938 kB / 0.8862 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.008504, allocations: 15.97 kB / 0.8862 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.00851, allocations: 4 kB / 0.8862 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.008561, allocations: 140.4 kB / 0.8863 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008561, allocations: 0 / 0.8863 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001912/0.008753, allocations: 35.89 kB / 0.8864 GB, free: 14.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001084/0.008861, allocations: 107.2 kB / 0.8865 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.009035, allocations: 175.1 kB / 0.8867 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009037, allocations: 0 / 0.8867 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.009074, allocations: 39.59 kB / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.009267, allocations: 23.92 kB / 0.8867 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.009626, allocations: 239.2 kB / 0.8869 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.009665, allocations: 79.77 kB / 0.887 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.009704, allocations: 12.66 kB / 0.887 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.48e-05/0.009789, allocations: 102.2 kB / 0.8871 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.009789, allocations: 3.938 kB / 0.8871 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003859/0.01365, allocations: 1.945 MB / 0.889 GB, free: 11.69 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_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: 5.866199471056461]