Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001725/0.001725, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001806/0.001806, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",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.002097/0.002097, allocations: 71.61 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3549, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005619/0.3606, allocations: 3.756 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.3632, allocations: 1.321 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.3635, allocations: 31.81 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.3639, allocations: 134.7 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.3642, allocations: 182.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.3651, allocations: 422 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3661, allocations: 0.9514 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.3666, allocations: 294.6 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.367, allocations: 338.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.3673, allocations: 298.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.3675, allocations: 92 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3676, allocations: 88 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3677, allocations: 175.4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.368, allocations: 314.5 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3691, allocations: 1.074 MB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3691, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3691, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3691, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 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.001903/0.371, allocations: 1.084 MB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.371, allocations: 11.97 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.3711, allocations: 102.7 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.3713, allocations: 84.42 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.3722, allocations: 0.5116 MB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.3723, allocations: 41.69 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3724, allocations: 60.38 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3735, allocations: 0.6617 MB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.3735, allocations: 7.984 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.3736, allocations: 20 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3736, allocations: 16 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.3746, allocations: 457 kB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3775, allocations: 1.783 MB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.3784, allocations: 426 kB / 1.339 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.3789, allocations: 222.6 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.3789, allocations: 4.438 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005624/0.3795, allocations: 273.2 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.464e-06/0.3795, allocations: 0 / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001321/0.3808, allocations: 0.5768 MB / 1.34 GB, free: 2.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.3808, allocations: 59.84 kB / 1.34 GB, free: 2.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.3814, allocations: 449.9 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.3814, allocations: 41.7 kB / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.3817, allocations: 328.8 kB / 1.341 GB, free: 1.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3818, allocations: 174.5 kB / 1.341 GB, free: 1.359 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.382, allocations: 98.23 kB / 1.341 GB, free: 1.258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3821, allocations: 362.8 kB / 1.342 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.3826, allocations: 194.9 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.383, allocations: 276.4 kB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.3839, allocations: 451 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3839, allocations: 4 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001082/0.385, allocations: 0.598 MB / 1.343 GB, free: 15.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.385, allocations: 33.7 kB / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.385, allocations: 0 / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.385, allocations: 4.25 kB / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.3855, allocations: 119.8 kB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3855, allocations: 4 kB / 1.343 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3859, allocations: 59.64 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.3859, allocations: 16 kB / 1.344 GB, free: 15.06 MB / 1.045 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.0002519/0.3861, allocations: 206.7 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.3862, allocations: 63.56 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3863, allocations: 69.58 kB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3864, allocations: 11.94 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3864, allocations: 0 / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3864, allocations: 3.984 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3881, allocations: 1.076 MB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3881, allocations: 3.984 kB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.3886, allocations: 87.89 kB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3886, allocations: 8 kB / 1.345 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3886, allocations: 11.98 kB / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3886, allocations: 4 kB / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3887, allocations: 0 / 1.345 GB, free: 13.47 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3901, allocations: 0.7652 MB / 1.346 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.3902, allocations: 99.52 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.3903, allocations: 8.125 kB / 1.346 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.3906, allocations: 31.97 kB / 1.346 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-05/0.3907, allocations: 32.38 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3907, allocations: 15.98 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003519/0.3911, allocations: 310.9 kB / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3911, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000435/0.3915, allocations: 147.6 kB / 1.346 GB, free: 12.06 MB / 1.045 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.001686/0.3932, allocations: 1.317 MB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009503/0.3941, allocations: 486.9 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3941, allocations: 4 kB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.3946, allocations: 206.3 kB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.3953, allocations: 155.7 kB / 1.349 GB, free: 9.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.4028, allocations: 4.907 MB / 1.353 GB, free: 4.793 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.4032, allocations: 296.5 kB / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.4034, allocations: 68.58 kB / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.4038, allocations: 215.4 kB / 1.354 GB, free: 4.199 MB / 1.045 GB Notification: Performance of SimCode: time 9.22e-07/0.4038, allocations: 3.938 kB / 1.354 GB, free: 4.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.4466, allocations: 12.42 MB / 1.366 GB, free: 8.062 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.31, allocations: 5.812 kB / 1.366 GB, free: 8.059 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.317725121974945]