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.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.001729/0.001729, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.0017/0.0017, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.55/1.55, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 75.89 kB / 1.104 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 168.7 MB / 1.269 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002154/1.096, allocations: 0.9034 MB / 1.27 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001692/1.098, allocations: 1.183 MB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.938e-05/1.098, allocations: 1.094 kB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/1.098, allocations: 9.656 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/1.098, allocations: 23.72 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/1.099, allocations: 149.2 kB / 1.271 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/1.099, allocations: 168.2 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/1.099, allocations: 27.2 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/1.1, allocations: 68.81 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/1.1, allocations: 67.31 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/1.1, allocations: 15.25 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/1.1, allocations: 29.73 kB / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/1.1, allocations: 25.3 kB / 1.271 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/1.1, allocations: 62.59 kB / 1.271 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/1.1, allocations: 172.4 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/1.101, allocations: 0.7188 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/1.101, allocations: 3.938 kB / 1.272 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.101, allocations: 7.938 kB / 1.272 GB, free: 5.895 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.0008809/1.101, allocations: 459.9 kB / 1.272 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/1.101, allocations: 9.531 kB / 1.272 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/1.102, allocations: 43.8 kB / 1.272 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/1.102, allocations: 18.19 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/1.102, allocations: 250.6 kB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/1.102, allocations: 14.06 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/1.102, allocations: 10.56 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/1.103, allocations: 90.91 kB / 1.272 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.103, allocations: 0.8125 kB / 1.272 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/1.103, allocations: 6 kB / 1.272 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/1.103, allocations: 1.812 kB / 1.272 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/1.103, allocations: 45.66 kB / 1.273 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/1.104, allocations: 389.8 kB / 1.273 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/1.104, allocations: 35.11 kB / 1.273 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/1.104, allocations: 26.22 kB / 1.273 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/1.104, allocations: 5.156 kB / 1.273 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003813/1.104, allocations: 101.1 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.113e-06/1.104, allocations: 0 / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0005117/1.105, allocations: 133.6 kB / 1.273 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.105, allocations: 61.78 kB / 1.273 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.105, allocations: 142.9 kB / 1.273 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/1.105, allocations: 27.52 kB / 1.273 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/1.105, allocations: 117.3 kB / 1.274 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/1.105, allocations: 30.14 kB / 1.274 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.105, allocations: 48.88 kB / 1.274 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/1.105, allocations: 321.1 kB / 1.274 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.106, allocations: 52.91 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.106, allocations: 131.1 kB / 1.274 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/1.106, allocations: 198.6 kB / 1.274 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.106, allocations: 0.9688 kB / 1.274 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005837/1.107, allocations: 250 kB / 1.275 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/1.107, allocations: 44.41 kB / 1.275 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.107, allocations: 3.531 kB / 1.275 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/1.107, allocations: 8.188 kB / 1.275 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.107, allocations: 31.28 kB / 1.275 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.107, allocations: 4.016 kB / 1.275 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/1.107, allocations: 40.38 kB / 1.275 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/1.107, allocations: 15.36 kB / 1.275 GB, free: 3.434 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.0001452/1.108, allocations: 136.8 kB / 1.275 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/1.108, allocations: 9.484 kB / 1.275 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/1.108, allocations: 14.36 kB / 1.275 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.108, allocations: 5.438 kB / 1.275 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.108, allocations: 4 kB / 1.275 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.108, allocations: 0.75 kB / 1.275 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/1.108, allocations: 392.3 kB / 1.275 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/1.108, allocations: 0.8125 kB / 1.275 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.108, allocations: 15.88 kB / 1.275 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.108, allocations: 0.9688 kB / 1.275 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/1.108, allocations: 7.797 kB / 1.275 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.108, allocations: 4.719 kB / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.108, allocations: 0 / 1.275 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/1.109, allocations: 241.1 kB / 1.275 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/1.109, allocations: 87.92 kB / 1.276 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/1.109, allocations: 3.797 kB / 1.276 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/1.109, allocations: 13.36 kB / 1.276 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/1.109, allocations: 11.11 kB / 1.276 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/1.109, allocations: 3.719 kB / 1.276 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.124e-05/1.109, allocations: 108.1 kB / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.109, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003687/1.11, allocations: 35.55 kB / 1.276 GB, free: 2.566 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.0009552/1.111, allocations: 0.7947 MB / 1.276 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006683/1.111, allocations: 165.1 kB / 1.277 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.111, allocations: 0.9062 kB / 1.277 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/1.112, allocations: 39.94 kB / 1.277 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/1.112, allocations: 22.64 kB / 1.277 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/1.116, allocations: 1.972 MB / 1.279 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/1.117, allocations: 0.7048 MB / 1.279 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001134/1.117, allocations: 15.94 kB / 1.279 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/1.117, allocations: 38.28 kB / 1.279 GB, free: 15.39 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.117, allocations: 4 kB / 1.279 GB, free: 15.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/1.152, allocations: 3.187 MB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/9.336, allocations: 21.12 kB / 1.282 GB, free: 14.86 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.684059652965516]