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.001872/0.001872, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002347/0.002347, allocations: 220.9 kB / 22.25 MB, free: 5.102 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.801 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.211/3.211, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.001967/0.001967, allocations: 71.64 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3926, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006527/0.3992, allocations: 3.762 MB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.4021, allocations: 1.325 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.4028, allocations: 27.81 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.4032, allocations: 130.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.4037, allocations: 186.4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009973/0.4046, allocations: 423 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.4057, allocations: 0.9631 MB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.4063, allocations: 306.6 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.4067, allocations: 338.7 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.4071, allocations: 338.4 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.4072, allocations: 92 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.4074, allocations: 88 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4075, allocations: 179.3 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.4078, allocations: 306.6 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.4089, allocations: 1.082 MB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4089, allocations: 0 / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4089, allocations: 0 / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.409, allocations: 0 / 1.335 GB, free: 7.996 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.002011/0.411, allocations: 1.072 MB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.411, allocations: 12.03 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.4111, allocations: 102.7 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4113, allocations: 88.42 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.4123, allocations: 0.5038 MB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.4123, allocations: 45.69 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4124, allocations: 60.38 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.4136, allocations: 0.6617 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.4136, allocations: 0 / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.4137, allocations: 28 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4137, allocations: 12 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4147, allocations: 457 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.4176, allocations: 1.791 MB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.4186, allocations: 422.7 kB / 1.34 GB, free: 2.574 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.419, allocations: 226.6 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.4191, allocations: 8.422 kB / 1.34 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.4196, allocations: 261.3 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.554e-06/0.4196, allocations: 4 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.00132/0.421, allocations: 0.5729 MB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.421, allocations: 71.77 kB / 1.341 GB, free: 1.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.4216, allocations: 445.9 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.4216, allocations: 41.7 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.4219, allocations: 328.9 kB / 1.342 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.422, allocations: 170.5 kB / 1.342 GB, free: 428 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.4222, allocations: 98.28 kB / 1.342 GB, free: 324 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4224, allocations: 362.8 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.4228, allocations: 190.9 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.4233, allocations: 284.4 kB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.4241, allocations: 447 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.4242, allocations: 4 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001113/0.4253, allocations: 0.598 MB / 1.344 GB, free: 14.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.4253, allocations: 33.7 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4253, allocations: 0 / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4253, allocations: 8.234 kB / 1.344 GB, free: 14.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.4259, allocations: 119.8 kB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.4259, allocations: 7.984 kB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4262, allocations: 59.66 kB / 1.344 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.4263, allocations: 16 kB / 1.344 GB, free: 14.11 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.0002929/0.4266, allocations: 211.2 kB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.4266, allocations: 63.56 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.4268, allocations: 61.59 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4268, allocations: 7.984 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4268, allocations: 4 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4268, allocations: 0 / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.4286, allocations: 1.08 MB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4286, allocations: 0 / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.4291, allocations: 95.88 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4291, allocations: 4 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.4292, allocations: 12 kB / 1.346 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4292, allocations: 4 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4292, allocations: 0 / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.4306, allocations: 0.7612 MB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.4307, allocations: 95.53 kB / 1.347 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.4308, allocations: 19.98 kB / 1.347 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.4311, allocations: 19.98 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4312, allocations: 40.36 kB / 1.347 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.4312, allocations: 12 kB / 1.347 GB, free: 11.56 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000382/0.4316, allocations: 310.9 kB / 1.347 GB, free: 11.26 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4316, allocations: 0 / 1.347 GB, free: 11.26 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004783/0.4321, allocations: 143.6 kB / 1.347 GB, free: 11.12 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.00173/0.4338, allocations: 1.321 MB / 1.349 GB, free: 9.773 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.4348, allocations: 490.9 kB / 1.349 GB, free: 9.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4348, allocations: 4 kB / 1.349 GB, free: 9.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.4353, allocations: 202.4 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.4361, allocations: 154.1 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.4437, allocations: 4.907 MB / 1.354 GB, free: 3.848 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.444, allocations: 300.5 kB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.4443, allocations: 60.58 kB / 1.354 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.4447, allocations: 223.4 kB / 1.355 GB, free: 3.25 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/0.4447, allocations: 0 / 1.355 GB, free: 3.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.4898, allocations: 12.57 MB / 1.367 GB, free: 6.961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.58, allocations: 2.031 kB / 1.367 GB, free: 6.961 MB / 1.061 GB " [Timeout remaining time 288] (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.68605259101605]