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.001929/0.001929, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002004/0.002004, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.63/1.63, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.042/3.042, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.214e-06/2.214e-06, allocations: 0 / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.12e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002131/0.002162, allocations: 0.8672 MB / 0.8117 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.003999, allocations: 1.208 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.004059, allocations: 0 / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.004095, allocations: 11.88 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.004205, allocations: 15.75 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.004716, allocations: 148.8 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.004973, allocations: 167.6 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.0051, allocations: 29.23 kB / 0.8133 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.005276, allocations: 97.09 kB / 0.8134 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.0054, allocations: 55.84 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.005439, allocations: 12 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.005524, allocations: 29.16 kB / 0.8135 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.005565, allocations: 27.89 kB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.005652, allocations: 47.89 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.005943, allocations: 188.2 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005945, allocations: 4 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005946, allocations: 1.344 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005951, allocations: 0 / 0.8137 GB, free: 15.17 MB / 0.7761 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.0008378/0.006788, allocations: 0.5161 MB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.006829, allocations: 8.562 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.007164, allocations: 26.81 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.00765, allocations: 186.9 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.007674, allocations: 8.375 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.007716, allocations: 20.31 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.007927, allocations: 80.03 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007937, allocations: 192 / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.007952, allocations: 4.375 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.007962, allocations: 8.125 kB / 0.8145 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.0081, allocations: 32.75 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.008886, allocations: 379.9 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.009014, allocations: 47.7 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.009087, allocations: 20.2 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.009109, allocations: 5.312 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.009325, allocations: 101 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.009326, allocations: 4.531 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0003987/0.009725, allocations: 122.9 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.009775, allocations: 51.41 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.009988, allocations: 217.8 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.01002, allocations: 26.61 kB / 0.8155 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.01015, allocations: 162.8 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.01019, allocations: 39.78 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.01029, allocations: 52.14 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002844/0.01057, allocations: 0.5 MB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.01075, allocations: 86.94 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.01104, allocations: 205.5 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.0114, allocations: 234.6 kB / 0.8167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0114, allocations: 0 / 0.8167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005541/0.01196, allocations: 287.3 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.012, allocations: 33.7 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01201, allocations: 4.5 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01203, allocations: 5.062 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.01214, allocations: 23.92 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.01215, allocations: 7.984 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.01234, allocations: 33.25 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.01238, allocations: 15.98 kB / 0.8171 GB, free: 11.32 MB / 0.7761 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.0001559/0.01253, allocations: 177.3 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.01256, allocations: 17.3 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.0126, allocations: 12.78 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01261, allocations: 4.031 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01261, allocations: 0 / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.01262, allocations: 4.891 kB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.01322, allocations: 397.8 kB / 0.8177 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01323, allocations: 0 / 0.8177 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.01332, allocations: 20.58 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01332, allocations: 0 / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01333, allocations: 7 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01333, allocations: 3.938 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01333, allocations: 0 / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.01376, allocations: 279.7 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.01378, allocations: 15.91 kB / 0.818 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01381, allocations: 4 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.01388, allocations: 6.516 kB / 0.818 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.01394, allocations: 11.98 kB / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.01395, allocations: 7.938 kB / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001158/0.01407, allocations: 154.2 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01407, allocations: 0 / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002864/0.01435, allocations: 28 kB / 0.8182 GB, free: 10.12 MB / 0.7761 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.0001954/0.01455, allocations: 114.2 kB / 0.8183 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.015, allocations: 222.8 kB / 0.8186 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.015, allocations: 0 / 0.8186 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01511, allocations: 44.69 kB / 0.8186 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.0154, allocations: 21.7 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.01598, allocations: 259.2 kB / 0.8189 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.01609, allocations: 96.28 kB / 0.819 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.963e-05/0.01614, allocations: 14.92 kB / 0.819 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.01618, allocations: 17 kB / 0.819 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01618, allocations: 1.125 kB / 0.819 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of Templates: time 0.005708/0.02189, allocations: 1.749 MB / 0.8207 GB, free: 7.586 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.288132929010317]