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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 106 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 489.7 MB / 0.7761 GB, free: 33.64 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=511,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=511,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.69 kB / 1.127 GB, free: 36.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 172.1 MB / 1.295 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002355/0.3243, allocations: 0.8942 MB / 1.296 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3259, allocations: 1.178 MB / 1.297 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.326, allocations: 7.938 kB / 1.297 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.326, allocations: 7.875 kB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.3261, allocations: 19.86 kB / 1.297 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.3266, allocations: 151.3 kB / 1.297 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3268, allocations: 163.7 kB / 1.297 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.327, allocations: 25.11 kB / 1.297 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3271, allocations: 67.77 kB / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3272, allocations: 75.66 kB / 1.297 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.3272, allocations: 16 kB / 1.297 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.3273, allocations: 27.98 kB / 1.297 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.3273, allocations: 19.92 kB / 1.298 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.934e-05/0.3274, allocations: 79.69 kB / 1.298 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3277, allocations: 155.4 kB / 1.298 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3277, allocations: 7.984 kB / 1.298 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3277, allocations: 0 / 1.298 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3277, allocations: 0 / 1.298 GB, free: 8.738 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.0007297/0.3284, allocations: 460.5 kB / 1.298 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3284, allocations: 8.031 kB / 1.298 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.3285, allocations: 20.83 kB / 1.298 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3291, allocations: 258.5 kB / 1.298 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3291, allocations: 8.375 kB / 1.298 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.3291, allocations: 16.38 kB / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.3293, allocations: 90.19 kB / 1.299 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3293, allocations: 3.938 kB / 1.299 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3294, allocations: 4 kB / 1.299 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3294, allocations: 7.938 kB / 1.299 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3295, allocations: 47.95 kB / 1.299 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.3303, allocations: 384.5 kB / 1.299 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3304, allocations: 42.5 kB / 1.299 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.3305, allocations: 28.83 kB / 1.299 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3305, allocations: 0 / 1.299 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3307, allocations: 91.48 kB / 1.299 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3307, allocations: 3.938 kB / 1.299 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004244/0.3312, allocations: 137.5 kB / 1.299 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3312, allocations: 59.28 kB / 1.299 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3313, allocations: 142.2 kB / 1.299 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3314, allocations: 29.7 kB / 1.299 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.3315, allocations: 112 kB / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3315, allocations: 35.88 kB / 1.3 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.3316, allocations: 45.64 kB / 1.3 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3317, allocations: 326.8 kB / 1.3 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3319, allocations: 47.95 kB / 1.3 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3321, allocations: 131.1 kB / 1.3 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3324, allocations: 204.6 kB / 1.3 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3324, allocations: 0 / 1.3 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005/0.3329, allocations: 243 kB / 1.301 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.333, allocations: 37.69 kB / 1.301 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.333, allocations: 4 kB / 1.301 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.333, allocations: 8.312 kB / 1.301 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3331, allocations: 23.98 kB / 1.301 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.3331, allocations: 11.88 kB / 1.301 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3333, allocations: 47.84 kB / 1.301 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3334, allocations: 8 kB / 1.301 GB, free: 5.344 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.00012/0.3335, allocations: 127.5 kB / 1.301 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3335, allocations: 15.89 kB / 1.301 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3335, allocations: 16.72 kB / 1.301 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3336, allocations: 4 kB / 1.301 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3336, allocations: 3.938 kB / 1.301 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3336, allocations: 0 / 1.301 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.3342, allocations: 406.3 kB / 1.301 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3342, allocations: 0 / 1.301 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.3343, allocations: 11.98 kB / 1.301 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3343, allocations: 11.94 kB / 1.301 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3343, allocations: 0 / 1.301 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3343, allocations: 4 kB / 1.301 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3343, allocations: 0 / 1.301 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.3347, allocations: 243.3 kB / 1.302 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3348, allocations: 89.19 kB / 1.302 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3348, allocations: 4 kB / 1.302 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.3349, allocations: 11.97 kB / 1.302 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3349, allocations: 11.98 kB / 1.302 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3349, allocations: 4 kB / 1.302 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.335, allocations: 105.8 kB / 1.302 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 1.302 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002914/0.3353, allocations: 31.98 kB / 1.302 GB, free: 4.168 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.0001984/0.3355, allocations: 111.7 kB / 1.302 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.3359, allocations: 163.2 kB / 1.302 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3359, allocations: 0 / 1.302 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.336, allocations: 35.91 kB / 1.302 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3363, allocations: 30.69 kB / 1.302 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.337, allocations: 294.1 kB / 1.302 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3373, allocations: 0.7084 MB / 1.303 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3374, allocations: 19.42 kB / 1.303 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3374, allocations: 0 / 1.303 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.004052/0.3414, allocations: 1.728 MB / 1.305 GB, free: 1.023 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] 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) [Timeout 300] [Timeout remaining time 300] Reference file matches