Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001284/0.001284, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001655/0.001655, allocations: 218.7 kB / 23.03 MB, free: 4.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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.726/2.726, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] 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.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.002028/0.002028, allocations: 63.44 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005534/0.3406, allocations: 3.758 MB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3433, allocations: 1.325 MB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.3436, allocations: 27.81 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.344, allocations: 126.7 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.3444, allocations: 182.4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.3453, allocations: 424.8 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3463, allocations: 0.9593 MB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.3469, allocations: 306.2 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.3474, allocations: 338.8 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.3478, allocations: 338.3 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3479, allocations: 92 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.348, allocations: 88 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3482, allocations: 175.4 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.3485, allocations: 310.5 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.3497, allocations: 1.07 MB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3497, allocations: 3.938 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3497, allocations: 4 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3497, allocations: 0 / 1.293 GB, free: 1.164 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002062/0.3518, allocations: 1.076 MB / 1.294 GB, free: 44 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3518, allocations: 12.03 kB / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.776e-05/0.3518, allocations: 13.5 kB / 1.294 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.352, allocations: 102.7 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3521, allocations: 88.42 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3531, allocations: 0.5038 MB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3532, allocations: 45.69 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3533, allocations: 56.38 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.3545, allocations: 0.6732 MB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3545, allocations: 0 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.3546, allocations: 28 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.3546, allocations: 12 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.3557, allocations: 457 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.3588, allocations: 1.775 MB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.3598, allocations: 426.7 kB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.3603, allocations: 230.5 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.3603, allocations: 4.438 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.3609, allocations: 269.2 kB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.3609, allocations: 4 kB / 1.299 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001387/0.3623, allocations: 0.5691 MB / 1.299 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3623, allocations: 67.83 kB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.3629, allocations: 442 kB / 1.3 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.3629, allocations: 41.64 kB / 1.3 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.3632, allocations: 328.9 kB / 1.3 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.3634, allocations: 178.5 kB / 1.3 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.3636, allocations: 94.33 kB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3638, allocations: 362.8 kB / 1.301 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.3643, allocations: 190.9 kB / 1.301 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.3648, allocations: 284.4 kB / 1.301 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.3656, allocations: 447 kB / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3656, allocations: 0 / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001173/0.3668, allocations: 0.6019 MB / 1.302 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3668, allocations: 36.05 kB / 1.302 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3669, allocations: 0 / 1.302 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.3669, allocations: 7.984 kB / 1.302 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.3674, allocations: 112.1 kB / 1.303 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3674, allocations: 11.98 kB / 1.303 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.3678, allocations: 55.66 kB / 1.303 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3678, allocations: 20 kB / 1.303 GB, free: 7.273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002881/0.3681, allocations: 212.9 kB / 1.303 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.3682, allocations: 63.56 kB / 1.303 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.3683, allocations: 61.58 kB / 1.303 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3683, allocations: 4 kB / 1.303 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3683, allocations: 4 kB / 1.303 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3684, allocations: 4 kB / 1.303 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3702, allocations: 1.08 MB / 1.304 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3702, allocations: 0 / 1.304 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.3708, allocations: 99.81 kB / 1.304 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3708, allocations: 3.938 kB / 1.304 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.3708, allocations: 12 kB / 1.304 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3708, allocations: 8 kB / 1.304 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3708, allocations: 0 / 1.304 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3722, allocations: 0.7651 MB / 1.305 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.3724, allocations: 91.62 kB / 1.305 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.3725, allocations: 12 kB / 1.305 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.3728, allocations: 23.98 kB / 1.305 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3729, allocations: 40.36 kB / 1.305 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3729, allocations: 12 kB / 1.305 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003847/0.3733, allocations: 310.9 kB / 1.305 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 0 / 1.305 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004937/0.3738, allocations: 147.6 kB / 1.305 GB, free: 4.273 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001881/0.3757, allocations: 1.322 MB / 1.307 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3767, allocations: 486.4 kB / 1.307 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3767, allocations: 0.5 kB / 1.307 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.3772, allocations: 214.3 kB / 1.307 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/0.3779, allocations: 154.3 kB / 1.308 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.3858, allocations: 4.915 MB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3861, allocations: 292.7 kB / 1.313 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.3864, allocations: 64.58 kB / 1.313 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.3868, allocations: 223.4 kB / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/0.3868, allocations: 0 / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/0.4248, allocations: 12.17 MB / 1.325 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.56, allocations: 10.41 kB / 1.325 GB, free: 0.5469 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: 19.513335885945708]