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.0009787/0.0009787, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009555/0.0009555, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9189/0.9189, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.328/2.328, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 1.353e-06/1.353e-06, allocations: 0 / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.384e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001185/0.001199, allocations: 0.8817 MB / 0.8907 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.002239, allocations: 1.217 MB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.002284, allocations: 0 / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.002308, allocations: 11.86 kB / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.00237, allocations: 19.8 kB / 0.8919 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.002664, allocations: 151.5 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.0028, allocations: 167.6 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.002877, allocations: 25.28 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.002989, allocations: 99.8 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.003066, allocations: 55.86 kB / 0.8924 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.003087, allocations: 15.98 kB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.00313, allocations: 19.98 kB / 0.8924 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.00315, allocations: 19.92 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.003188, allocations: 47.84 kB / 0.8925 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.003315, allocations: 115.7 kB / 0.8926 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003317, allocations: 4 kB / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.71e-07/0.003317, allocations: 0 / 0.8926 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.424e-06/0.00332, allocations: 0 / 0.8926 GB, free: 6.844 MB / 0.8542 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.0004624/0.003782, allocations: 0.528 MB / 0.8931 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.003815, allocations: 12.62 kB / 0.8931 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.003857, allocations: 20.84 kB / 0.8931 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.003987, allocations: 156.3 kB / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.003999, allocations: 8.375 kB / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.004019, allocations: 12.38 kB / 0.8933 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.004123, allocations: 78.92 kB / 0.8934 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.004132, allocations: 8.172 kB / 0.8934 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.00414, allocations: 4.375 kB / 0.8934 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.004147, allocations: 8.312 kB / 0.8934 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.004171, allocations: 19.92 kB / 0.8934 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.004548, allocations: 332.1 kB / 0.8937 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.751e-05/0.004585, allocations: 38.94 kB / 0.8938 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.004604, allocations: 19.8 kB / 0.8938 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.004621, allocations: 3.984 kB / 0.8938 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.233e-05/0.004703, allocations: 76.98 kB / 0.8939 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.004704, allocations: 7.938 kB / 0.8939 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0001435/0.004848, allocations: 93.56 kB / 0.894 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.00487, allocations: 51.41 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.004953, allocations: 203.2 kB / 0.8942 GB, free: 5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.004971, allocations: 25.7 kB / 0.8942 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.005031, allocations: 162.8 kB / 0.8944 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.00505, allocations: 31.78 kB / 0.8944 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.005104, allocations: 55.33 kB / 0.8945 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005218, allocations: 0.4884 MB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.005267, allocations: 57.67 kB / 0.895 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.005362, allocations: 185.5 kB / 0.8952 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.005483, allocations: 205.3 kB / 0.8954 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005486, allocations: 4 kB / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002112/0.005697, allocations: 240.6 kB / 0.8956 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.005718, allocations: 29.7 kB / 0.8956 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005723, allocations: 4.375 kB / 0.8956 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.005734, allocations: 8 kB / 0.8956 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.005793, allocations: 27.92 kB / 0.8957 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005799, allocations: 7.984 kB / 0.8957 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.005883, allocations: 27.94 kB / 0.8957 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.0059, allocations: 15.98 kB / 0.8957 GB, free: 3.262 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 7.257e-05/0.005972, allocations: 183.1 kB / 0.8959 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.005985, allocations: 11.95 kB / 0.8959 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.006009, allocations: 12.72 kB / 0.8959 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.006012, allocations: 8 kB / 0.8959 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006014, allocations: 0 / 0.8959 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.006019, allocations: 3.984 kB / 0.8959 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.006271, allocations: 337.9 kB / 0.8963 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.006273, allocations: 3.984 kB / 0.8963 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.006312, allocations: 8 kB / 0.8963 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006313, allocations: 0 / 0.8963 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006319, allocations: 0 / 0.8963 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.006322, allocations: 4 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006323, allocations: 0 / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.006459, allocations: 251.7 kB / 0.8965 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.006467, allocations: 7.953 kB / 0.8965 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.006478, allocations: 4 kB / 0.8965 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.006516, allocations: 7.984 kB / 0.8965 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.00654, allocations: 15.92 kB / 0.8965 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.006544, allocations: 0 / 0.8965 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.006586, allocations: 144.9 kB / 0.8967 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006586, allocations: 0 / 0.8967 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001736/0.006759, allocations: 35.89 kB / 0.8967 GB, free: 2.176 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 9.285e-05/0.006852, allocations: 113.6 kB / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.006996, allocations: 168.6 kB / 0.897 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006997, allocations: 0 / 0.897 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.00703, allocations: 35.61 kB / 0.897 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.007207, allocations: 27.75 kB / 0.897 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.007507, allocations: 254.4 kB / 0.8973 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.00754, allocations: 67.78 kB / 0.8974 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.007577, allocations: 16.64 kB / 0.8974 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.007658, allocations: 106.2 kB / 0.8975 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.007659, allocations: 0 / 0.8975 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of Templates: time 0.003164/0.01082, allocations: 1.903 MB / 0.8993 GB, free: 15.45 MB / 0.8698 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.0759317968040705]