Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001183/0.001183, allocations: 113.2 kB / 16.42 MB, free: 6.465 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.001111/0.001111, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8898, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002292/0.8921, allocations: 0.8856 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.8937, allocations: 1.182 MB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.8938, allocations: 4 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.8939, allocations: 7.875 kB / 1.211 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.894, allocations: 15.81 kB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.8946, allocations: 159.3 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.8948, allocations: 175.6 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.895, allocations: 33.09 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.8951, allocations: 59.84 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.8952, allocations: 71.72 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.8953, allocations: 20 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.8954, allocations: 27.98 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.8954, allocations: 19.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.8955, allocations: 75.69 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.8957, allocations: 159.3 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.8957, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8958, allocations: 3.938 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.8958, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 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.0007029/0.8965, allocations: 458.6 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.8965, allocations: 8.031 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.8966, allocations: 20.75 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.8972, allocations: 252.2 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.8972, allocations: 12.38 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.8972, allocations: 12.38 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.8975, allocations: 94.14 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.8975, allocations: 3.938 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.8975, allocations: 4 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8975, allocations: 0 / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.8977, allocations: 47.95 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.8984, allocations: 388.4 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.8986, allocations: 38.56 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.8987, allocations: 24.83 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.8987, allocations: 3.984 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.899, allocations: 107.3 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.899, allocations: 0 / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004302/0.8994, allocations: 133.5 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.8995, allocations: 55.41 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8996, allocations: 149.4 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.8996, allocations: 33.7 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.8997, allocations: 100 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.8998, allocations: 39.69 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.8998, allocations: 41.7 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9, allocations: 326.8 kB / 1.214 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.9001, allocations: 47.95 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.9003, allocations: 131.1 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.9006, allocations: 204.6 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.9007, allocations: 4 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004753/0.9011, allocations: 235.3 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.9012, allocations: 41.75 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.9012, allocations: 4 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9012, allocations: 4 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.9013, allocations: 27.86 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9014, allocations: 7.938 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.9016, allocations: 47.8 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.9016, allocations: 8 kB / 1.214 GB, free: 7.367 MB / 0.9356 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.0001156/0.9018, allocations: 137.8 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.9018, allocations: 7.906 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.9018, allocations: 8.719 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9018, allocations: 4 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.9018, allocations: 0 / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.9019, allocations: 92.86 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.9019, allocations: 7.984 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.902, allocations: 4.375 kB / 1.215 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.902, allocations: 15.98 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003966/0.9024, allocations: 204.8 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004754/0.9029, allocations: 330.5 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000114/0.903, allocations: 36.02 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.9031, allocations: 103.2 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.9031, allocations: 0 / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006431/0.9038, allocations: 242.2 kB / 1.215 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006771/0.9045, allocations: 0.7133 MB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of Templates: time 0.004695/0.9092, allocations: 1.779 MB / 1.218 GB, free: 3.598 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches