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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 115.5 kB / 16.81 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 196.7 kB / 17.77 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 66.61 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4104, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002301/0.4127, allocations: 0.8767 MB / 1.263 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4143, allocations: 1.187 MB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.4144, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.4144, allocations: 11.86 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.4145, allocations: 15.81 kB / 1.264 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.4151, allocations: 147 kB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.4153, allocations: 163.7 kB / 1.264 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4154, allocations: 45.02 kB / 1.265 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4156, allocations: 67.78 kB / 1.265 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.4157, allocations: 71.66 kB / 1.265 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.4157, allocations: 12 kB / 1.265 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.4158, allocations: 31.98 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.4158, allocations: 23.92 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.4159, allocations: 67.7 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.4162, allocations: 167.4 kB / 1.265 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4162, allocations: 0 / 1.265 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4162, allocations: 4 kB / 1.265 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4162, allocations: 4 kB / 1.265 GB, free: 10.02 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.0007439/0.4169, allocations: 464.6 kB / 1.265 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.417, allocations: 8.031 kB / 1.265 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.417, allocations: 16.84 kB / 1.265 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.4176, allocations: 248.3 kB / 1.266 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.4177, allocations: 12.38 kB / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.4177, allocations: 12.31 kB / 1.266 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.4179, allocations: 94.14 kB / 1.266 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4179, allocations: 3.938 kB / 1.266 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.418, allocations: 4 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.418, allocations: 7.938 kB / 1.266 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.4181, allocations: 43.89 kB / 1.266 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.4189, allocations: 388.5 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.419, allocations: 38.5 kB / 1.266 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.4191, allocations: 28.97 kB / 1.266 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4191, allocations: 7.969 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.4194, allocations: 95.31 kB / 1.266 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.4194, allocations: 4 kB / 1.266 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004414/0.4199, allocations: 129.5 kB / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.4199, allocations: 55.41 kB / 1.267 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.42, allocations: 152 kB / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4201, allocations: 33.64 kB / 1.267 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.4202, allocations: 108 kB / 1.267 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.4202, allocations: 27.89 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.4203, allocations: 49.69 kB / 1.267 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4204, allocations: 322.8 kB / 1.267 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4206, allocations: 51.95 kB / 1.267 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4208, allocations: 127.1 kB / 1.267 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.4212, allocations: 196.6 kB / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4212, allocations: 4 kB / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005009/0.4217, allocations: 243 kB / 1.268 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.4217, allocations: 41.69 kB / 1.268 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4217, allocations: 4 kB / 1.268 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4218, allocations: 4 kB / 1.268 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4219, allocations: 28.3 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4219, allocations: 7.938 kB / 1.268 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.4221, allocations: 48.16 kB / 1.268 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.4222, allocations: 16 kB / 1.268 GB, free: 6.633 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.0001273/0.4223, allocations: 130.5 kB / 1.268 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.4223, allocations: 11.94 kB / 1.268 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.4223, allocations: 12.72 kB / 1.268 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4224, allocations: 4.031 kB / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4224, allocations: 0 / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.4224, allocations: 93 kB / 1.268 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4224, allocations: 0 / 1.268 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.4225, allocations: 11.98 kB / 1.268 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.4226, allocations: 11.92 kB / 1.268 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004185/0.423, allocations: 200.8 kB / 1.268 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004909/0.4235, allocations: 334.6 kB / 1.269 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001239/0.4236, allocations: 32.02 kB / 1.269 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.4237, allocations: 108.6 kB / 1.269 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of Backend: time 5.21e-07/0.4237, allocations: 0 / 1.269 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000688/0.4244, allocations: 239.1 kB / 1.269 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008216/0.4252, allocations: 0.7167 MB / 1.27 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.005463/0.4307, allocations: 1.781 MB / 1.271 GB, free: 2.863 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) 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) Reference file matches