Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008263/0.0008263, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002071, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008092/0.0008092, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.00184, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1037/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.902/1.902, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6064/2.509, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.387e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00204/0.002064, allocations: 0.9258 MB / 0.7306 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.003677, allocations: 1.227 MB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.003736, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.003772, allocations: 9.188 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.003847, allocations: 26.31 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.004244, allocations: 145 kB / 0.732 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.004488, allocations: 173.3 kB / 0.7322 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.00461, allocations: 25.81 kB / 0.7322 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004796, allocations: 115.8 kB / 0.7323 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004913, allocations: 39.88 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.004945, allocations: 14.03 kB / 0.7323 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.005035, allocations: 31.97 kB / 0.7324 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.005066, allocations: 15.94 kB / 0.7324 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.005119, allocations: 31.94 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.005305, allocations: 95.61 kB / 0.7325 GB, free: 1.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.005318, allocations: 4 kB / 0.7325 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005319, allocations: 0.5 kB / 0.7325 GB, free: 1.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.005335, allocations: 1.438 kB / 0.7325 GB, free: 1.547 MB / 0.698 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.000667/0.006002, allocations: 377.8 kB / 0.7329 GB, free: 1.145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.006036, allocations: 8.688 kB / 0.7329 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.006096, allocations: 24.91 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.006294, allocations: 152.2 kB / 0.7331 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006312, allocations: 10.09 kB / 0.7331 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.00635, allocations: 16.38 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.006502, allocations: 78.91 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.00651, allocations: 192 / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006523, allocations: 8.359 kB / 0.7332 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.006535, allocations: 5.188 kB / 0.7332 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.006568, allocations: 11.94 kB / 0.7332 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.007039, allocations: 229.1 kB / 0.7334 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.007094, allocations: 31.66 kB / 0.7334 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.007117, allocations: 16.92 kB / 0.7334 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.007135, allocations: 0 / 0.7334 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.007261, allocations: 72.23 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.007263, allocations: 0.625 kB / 0.7335 GB, free: 440 kB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001747/0.007437, allocations: 82.56 kB / 0.7336 GB, free: 352 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.007472, allocations: 51.41 kB / 0.7336 GB, free: 288 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.007598, allocations: 148.3 kB / 0.7338 GB, free: 128 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.007622, allocations: 33.7 kB / 0.7338 GB, free: 88 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.007695, allocations: 104.1 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.00772, allocations: 27.8 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.007789, allocations: 49.66 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.007883, allocations: 327.3 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.007958, allocations: 54.69 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.00806, allocations: 144.8 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.008246, allocations: 172.5 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.00825, allocations: 4.812 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002449/0.008495, allocations: 211 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.008537, allocations: 38.78 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.008543, allocations: 4 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.008558, allocations: 4 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008662, allocations: 28.8 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.008669, allocations: 7.984 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.008807, allocations: 33.16 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.008827, allocations: 8 kB / 0.735 GB, free: 14.76 MB / 0.7136 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.977e-05/0.008917, allocations: 134.7 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.008933, allocations: 8 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.008967, allocations: 17.33 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008969, allocations: 1.781 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.008971, allocations: 0 / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.008976, allocations: 4 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.009273, allocations: 250.6 kB / 0.7354 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009275, allocations: 0 / 0.7354 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.00934, allocations: 17.14 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.009352, allocations: 7.953 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.009354, allocations: 0 / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.009365, allocations: 4.75 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.009366, allocations: 0 / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009367, allocations: 0.5625 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.009535, allocations: 188.1 kB / 0.7356 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.009551, allocations: 4 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.009618, allocations: 5.094 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.009652, allocations: 11.98 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.009661, allocations: 7.984 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.009693, allocations: 31.98 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009693, allocations: 0 / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002707/0.009964, allocations: 31.94 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0001307/0.01009, allocations: 90.72 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.0103, allocations: 179.3 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.01031, allocations: 4 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.01036, allocations: 24.84 kB / 0.736 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01063, allocations: 140.6 kB / 0.7361 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.01138, allocations: 237 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.01143, allocations: 68.86 kB / 0.7364 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.363e-05/0.01148, allocations: 17.72 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.01159, allocations: 79.36 kB / 0.7365 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/0.0116, allocations: 0 / 0.7365 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.004759/0.01635, allocations: 1.832 MB / 0.7383 GB, free: 11.38 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.103575325571001]