Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001659/0.001659, allocations: 103.6 kB / 18.95 MB, free: 2.812 MB / 14.72 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.002134/0.002134, allocations: 213.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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.657/1.657, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 66.27 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002783/0.428, allocations: 0.8509 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4301, allocations: 1.196 MB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.775e-05/0.4302, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.4302, allocations: 15.86 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.4303, allocations: 11.81 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.431, allocations: 154 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.4312, allocations: 167.6 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.4314, allocations: 29.3 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4315, allocations: 67.83 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.4316, allocations: 63.72 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.4317, allocations: 16 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.4317, allocations: 27.92 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.4318, allocations: 23.92 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.4319, allocations: 63.7 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.4322, allocations: 164.1 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4322, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4322, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4322, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 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.0008243/0.433, allocations: 426 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.433, allocations: 12.03 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.4331, allocations: 38.73 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.4331, allocations: 12.89 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4337, allocations: 199.9 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4337, allocations: 8.375 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.4338, allocations: 16.38 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.4341, allocations: 89.95 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4341, allocations: 0 / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4341, allocations: 4 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4341, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.4343, allocations: 43.95 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.4351, allocations: 331.6 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4353, allocations: 50.48 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/0.4354, allocations: 24.97 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4354, allocations: 0 / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.4357, allocations: 91.36 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.4357, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004943/0.4362, allocations: 141.5 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.4363, allocations: 55.34 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.4365, allocations: 148 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.4365, allocations: 25.7 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4366, allocations: 120.1 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4366, allocations: 28.17 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.4367, allocations: 45.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4369, allocations: 326.8 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.4371, allocations: 81.66 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4374, allocations: 168.8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.4378, allocations: 200.6 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4378, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005642/0.4383, allocations: 269 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.4384, allocations: 41.69 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4384, allocations: 4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4384, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4385, allocations: 31.86 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4385, allocations: 7.938 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.4388, allocations: 39.84 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4388, allocations: 20.06 kB / 1.288 GB, free: 6.215 MB / 0.9825 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.000133/0.4389, allocations: 129.8 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.4389, allocations: 7.953 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.439, allocations: 12.72 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.439, allocations: 3.938 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.439, allocations: 0 / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.439, allocations: 0 / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.4396, allocations: 373.4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4396, allocations: 4.047 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.4397, allocations: 19.86 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4397, allocations: 3.984 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4398, allocations: 4 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4398, allocations: 4 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4398, allocations: 0 / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.4402, allocations: 239.4 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.4402, allocations: 15.84 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.4403, allocations: 4 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.4404, allocations: 11.98 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.4404, allocations: 8.172 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.4404, allocations: 4 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.4405, allocations: 107.2 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4405, allocations: 0 / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002929/0.4408, allocations: 28 kB / 1.289 GB, free: 5.18 MB / 0.9825 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.0008752/0.4417, allocations: 0.7876 MB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.4421, allocations: 200.9 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4421, allocations: 0 / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4422, allocations: 36.72 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.4426, allocations: 24.39 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.4455, allocations: 2.095 MB / 1.292 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4456, allocations: 90.09 kB / 1.292 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.077e-05/0.4457, allocations: 12.64 kB / 1.292 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.4457, allocations: 35.42 kB / 1.292 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.4457, allocations: 0 / 1.292 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.4833, allocations: 3.845 MB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 11.14 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.132501476909965]