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.001426/0.001426, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001556/0.001556, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.281/3.281, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 0.875 kB / 0.8777 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.59e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002966/0.002992, allocations: 0.8558 MB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.005078, allocations: 1.202 MB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.005164, allocations: 0 / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.005213, allocations: 12.61 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.005318, allocations: 17 kB / 0.8797 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.00591, allocations: 148.6 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.006198, allocations: 171.6 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.006331, allocations: 25.3 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.006538, allocations: 100.8 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.006676, allocations: 51.8 kB / 0.8802 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.00672, allocations: 16 kB / 0.8802 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.006805, allocations: 29.33 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.006852, allocations: 27.91 kB / 0.8802 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.006943, allocations: 47.89 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.007263, allocations: 195.4 kB / 0.8805 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007267, allocations: 1.094 kB / 0.8805 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007268, allocations: 0 / 0.8805 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.007274, allocations: 0 / 0.8805 GB, free: 3.586 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.0008762/0.00815, allocations: 419.8 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.008193, allocations: 8.031 kB / 0.8809 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.008287, allocations: 16.89 kB / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.008862, allocations: 191.1 kB / 0.8811 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.008884, allocations: 11.81 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.008935, allocations: 16.3 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.009195, allocations: 97.38 kB / 0.8812 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.009205, allocations: 192 / 0.8812 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.009221, allocations: 4.375 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.009234, allocations: 8.125 kB / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.009411, allocations: 40.55 kB / 0.8813 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.01017, allocations: 317.7 kB / 0.8816 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.01031, allocations: 34.56 kB / 0.8816 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.0104, allocations: 28.97 kB / 0.8816 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01043, allocations: 3.984 kB / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.01072, allocations: 99.28 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.01072, allocations: 0 / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005034/0.01123, allocations: 141.8 kB / 0.8819 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.01128, allocations: 51.41 kB / 0.8819 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01144, allocations: 148.4 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.01147, allocations: 29.7 kB / 0.8821 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.01157, allocations: 108 kB / 0.8822 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.01161, allocations: 35.88 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.0117, allocations: 45.69 kB / 0.8823 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.0119, allocations: 330.8 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.01209, allocations: 81.66 kB / 0.8826 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.0126, allocations: 159.3 kB / 0.8828 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.01299, allocations: 204.7 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.013, allocations: 4 kB / 0.883 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005831/0.01358, allocations: 276.6 kB / 0.8833 GB, free: 460 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.01363, allocations: 42.02 kB / 0.8833 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.01364, allocations: 8 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.01366, allocations: 4 kB / 0.8833 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.01378, allocations: 31.91 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.01378, allocations: 4 kB / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.01402, allocations: 35.86 kB / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.01405, allocations: 15.98 kB / 0.8834 GB, free: 312 kB / 0.8386 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.0001358/0.01419, allocations: 133.7 kB / 0.8835 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01422, allocations: 19.91 kB / 0.8835 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.01426, allocations: 12.77 kB / 0.8836 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.01426, allocations: 4 kB / 0.8836 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01427, allocations: 0 / 0.8836 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01427, allocations: 0 / 0.8836 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.01488, allocations: 334.1 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01488, allocations: 0 / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.01498, allocations: 15.94 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.01498, allocations: 7.984 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01499, allocations: 4 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.015, allocations: 0 / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.015, allocations: 0 / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.01546, allocations: 255.3 kB / 0.8841 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.01548, allocations: 11.89 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.01551, allocations: 8 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.0156, allocations: 7.984 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.01564, allocations: 11.98 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01566, allocations: 11.94 kB / 0.8842 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001011/0.01576, allocations: 105.2 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01576, allocations: 0 / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003067/0.01607, allocations: 27.98 kB / 0.8843 GB, free: 15.29 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.0002225/0.01629, allocations: 103.2 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.0168, allocations: 205.1 kB / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.0168, allocations: 0 / 0.8846 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01694, allocations: 31.98 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01727, allocations: 15.98 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.01807, allocations: 264.7 kB / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.0182, allocations: 102.2 kB / 0.885 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.01827, allocations: 16.64 kB / 0.885 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.01831, allocations: 12.5 kB / 0.885 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.01832, allocations: 4 kB / 0.885 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.00599/0.02431, allocations: 1.756 MB / 0.8868 GB, free: 12.77 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.248433287022635]