Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 118.2 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 194.2 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 75.88 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.31, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002307/0.3123, allocations: 0.8936 MB / 1.215 GB, free: 72 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3141, allocations: 1.183 MB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.3142, allocations: 0 / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.3143, allocations: 7.875 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3144, allocations: 23.78 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.315, allocations: 147.2 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3154, allocations: 171.6 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3155, allocations: 29.11 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.3157, allocations: 67.83 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3158, allocations: 63.73 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.3159, allocations: 12 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.316, allocations: 35.97 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.316, allocations: 23.92 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.3161, allocations: 63.7 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3164, allocations: 167.3 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3164, allocations: 7.984 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3164, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3164, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 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.0008288/0.3172, allocations: 468.6 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3173, allocations: 8.031 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.3174, allocations: 16.84 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.318, allocations: 246.8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.318, allocations: 8.375 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.318, allocations: 16.38 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3183, allocations: 97.31 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3183, allocations: 3.938 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3183, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.3183, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.3185, allocations: 51.89 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.3193, allocations: 392.5 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3194, allocations: 34.56 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.3195, allocations: 24.95 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3196, allocations: 4 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.3199, allocations: 107.2 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.3199, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004613/0.3204, allocations: 129.5 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3204, allocations: 55.34 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3205, allocations: 141.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3206, allocations: 33.7 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.3207, allocations: 112 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3207, allocations: 35.86 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.3208, allocations: 41.7 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.321, allocations: 322.8 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3212, allocations: 51.95 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.3214, allocations: 127.1 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.3218, allocations: 204.6 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3218, allocations: 4 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005429/0.3223, allocations: 251.1 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.3224, allocations: 37.69 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3224, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3224, allocations: 4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3225, allocations: 23.98 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3225, allocations: 11.88 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3228, allocations: 44.08 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3228, allocations: 12 kB / 1.22 GB, free: 10.68 MB / 0.9669 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 0.0001328/0.3229, allocations: 129.8 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.3229, allocations: 11.91 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.323, allocations: 12.72 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.323, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.323, allocations: 3.938 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.323, allocations: 4.031 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.3236, allocations: 402.8 kB / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3236, allocations: 0 / 1.22 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.3237, allocations: 12.08 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3237, allocations: 11.81 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3238, allocations: 8 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3238, allocations: 0 / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3238, allocations: 0 / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.3242, allocations: 243.3 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.3243, allocations: 88.94 kB / 1.221 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3243, allocations: 8 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.3244, allocations: 8.031 kB / 1.221 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3245, allocations: 7.984 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3245, allocations: 4 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.3246, allocations: 105.3 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3246, allocations: 4 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000301/0.3249, allocations: 39.88 kB / 1.221 GB, free: 9.496 MB / 0.9669 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.0001821/0.3251, allocations: 107.1 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.3255, allocations: 171.8 kB / 1.221 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3255, allocations: 0 / 1.221 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3256, allocations: 35.91 kB / 1.221 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3259, allocations: 23.98 kB / 1.221 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.3265, allocations: 298.4 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3269, allocations: 0.7163 MB / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.327, allocations: 19.38 kB / 1.222 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of SimCode: time 2.81e-07/0.327, allocations: 0 / 1.222 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of Templates: time 0.004372/0.3313, allocations: 1.731 MB / 1.224 GB, free: 6.344 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.476512395078316]