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.00165/0.00165, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001989/0.001989, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.972/2.972, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="cs",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.002272/0.002272, allocations: 71.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.136, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002263/1.138, allocations: 0.8973 MB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001824/1.14, allocations: 1.206 MB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/1.14, allocations: 1.094 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/1.14, allocations: 13.98 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/1.14, allocations: 24.45 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/1.14, allocations: 144.2 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/1.141, allocations: 171.8 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/1.141, allocations: 26.72 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/1.141, allocations: 70.14 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/1.141, allocations: 63.92 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/1.141, allocations: 14.5 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/1.141, allocations: 32.53 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/1.141, allocations: 33.98 kB / 1.282 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/1.141, allocations: 62.42 kB / 1.282 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/1.142, allocations: 172.4 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.142, allocations: 1.297 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.142, allocations: 0 / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.142, allocations: 0.5312 kB / 1.282 GB, free: 9.914 MB / 0.9981 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.0008526/1.143, allocations: 458.8 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.143, allocations: 10.48 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.681e-05/1.143, allocations: 9.75 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/1.143, allocations: 39.86 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/1.143, allocations: 13.91 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/1.143, allocations: 248.7 kB / 1.283 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/1.143, allocations: 10.38 kB / 1.283 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/1.144, allocations: 14.59 kB / 1.283 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/1.144, allocations: 96.72 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.144, allocations: 0.6094 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.144, allocations: 5.922 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.144, allocations: 2.188 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/1.144, allocations: 50.8 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/1.145, allocations: 387.9 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/1.145, allocations: 40.58 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.145, allocations: 28.86 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/1.145, allocations: 2.094 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/1.145, allocations: 92.59 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/1.145, allocations: 0 / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004571/1.146, allocations: 137.7 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.146, allocations: 54.39 kB / 1.283 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.146, allocations: 146.4 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.146, allocations: 32.58 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/1.146, allocations: 123.5 kB / 1.284 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/1.146, allocations: 33.16 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/1.146, allocations: 47.88 kB / 1.284 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.146, allocations: 321.1 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/1.147, allocations: 49.02 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/1.147, allocations: 131.7 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/1.147, allocations: 199.3 kB / 1.285 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.147, allocations: 1.25 kB / 1.285 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00053/1.148, allocations: 242.5 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/1.148, allocations: 39.38 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.148, allocations: 2.625 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/1.148, allocations: 8.812 kB / 1.285 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.148, allocations: 26.28 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.148, allocations: 5.203 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/1.148, allocations: 35.59 kB / 1.285 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.148, allocations: 24.72 kB / 1.285 GB, free: 7.453 MB / 0.9981 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.0001297/1.148, allocations: 134.8 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/1.148, allocations: 10.23 kB / 1.285 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/1.148, allocations: 12.45 kB / 1.285 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.148, allocations: 5.281 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.148, allocations: 0.9844 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.148, allocations: 0 / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/1.149, allocations: 397.7 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.149, allocations: 3.938 kB / 1.285 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/1.149, allocations: 17.41 kB / 1.285 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.149, allocations: 1.312 kB / 1.285 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.149, allocations: 5.953 kB / 1.285 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.149, allocations: 0 / 1.285 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.149, allocations: 1.984 kB / 1.285 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/1.15, allocations: 244.8 kB / 1.286 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/1.15, allocations: 93.39 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/1.15, allocations: 2.328 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/1.15, allocations: 10.59 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/1.15, allocations: 6.766 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/1.15, allocations: 3.578 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.849e-05/1.15, allocations: 106.8 kB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.15, allocations: 7.938 kB / 1.286 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003049/1.15, allocations: 32.91 kB / 1.286 GB, free: 6.578 MB / 0.9981 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.0009469/1.151, allocations: 0.7961 MB / 1.287 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004649/1.152, allocations: 167.4 kB / 1.287 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.152, allocations: 0.7969 kB / 1.287 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/1.152, allocations: 36.66 kB / 1.287 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/1.152, allocations: 27.83 kB / 1.287 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/1.155, allocations: 1.961 MB / 1.289 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.155, allocations: 0.7043 MB / 1.29 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.344e-05/1.155, allocations: 19 kB / 1.29 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/1.156, allocations: 35.67 kB / 1.29 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.156, allocations: 0 / 1.29 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.179, allocations: 3.239 MB / 1.293 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/9.538, allocations: 8 kB / 1.293 GB, free: 2.879 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.24629521195311]