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.001976/0.001976, 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.003143/0.003143, allocations: 210.5 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.581/1.581, 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 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.894/2.894, allocations: 476 MB / 0.7699 GB, free: 4.691 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_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.002153/0.002153, allocations: 67.33 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.38, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006923/0.3869, allocations: 3.766 MB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.3899, allocations: 1.321 MB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007481/0.3907, allocations: 27.81 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.3913, allocations: 134.7 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.3919, allocations: 182.4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3931, allocations: 418.7 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.3944, allocations: 0.9515 MB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006579/0.3951, allocations: 290.7 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.3956, allocations: 346.7 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.396, allocations: 290.4 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.3961, allocations: 92 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3963, allocations: 88 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.3964, allocations: 179.4 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.3967, allocations: 302.5 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.3979, allocations: 1.083 MB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3979, allocations: 0 / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3979, allocations: 0 / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.398, allocations: 0 / 1.292 GB, free: 3.008 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.002011/0.4, allocations: 1.09 MB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4, allocations: 12.03 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001228/0.4001, allocations: 98.7 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.4003, allocations: 88.42 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4014, allocations: 0.4999 MB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.4014, allocations: 41.69 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4015, allocations: 60.38 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4028, allocations: 0.6696 MB / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.4028, allocations: 4 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.4028, allocations: 20 kB / 1.294 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4029, allocations: 12 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.404, allocations: 457 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.4072, allocations: 1.783 MB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4083, allocations: 426.2 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.4088, allocations: 218.1 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.4089, allocations: 4.438 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.4095, allocations: 269.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=49): time 3.587e-06/0.4095, allocations: 4 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.001396/0.4109, allocations: 0.5775 MB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.4109, allocations: 63.84 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.4115, allocations: 449.9 kB / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.4116, allocations: 37.7 kB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.4119, allocations: 336.8 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.4121, allocations: 174.5 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.4122, allocations: 90.34 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4124, allocations: 362.8 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.4129, allocations: 194.9 kB / 1.3 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.4134, allocations: 276.4 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.4143, allocations: 451 kB / 1.3 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4143, allocations: 0 / 1.3 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00119/0.4155, allocations: 0.598 MB / 1.301 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.4155, allocations: 37.69 kB / 1.301 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4155, allocations: 3.938 kB / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4156, allocations: 4 kB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.4161, allocations: 120.1 kB / 1.301 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.4161, allocations: 4 kB / 1.301 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.4165, allocations: 67.53 kB / 1.301 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.4165, allocations: 19.94 kB / 1.301 GB, free: 9.117 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.0002906/0.4168, allocations: 201.8 kB / 1.301 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4169, allocations: 63.56 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.4171, allocations: 65.58 kB / 1.301 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4171, allocations: 8 kB / 1.301 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4171, allocations: 4 kB / 1.301 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4171, allocations: 3.984 kB / 1.301 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.4191, allocations: 1.076 MB / 1.302 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4191, allocations: 0 / 1.302 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.4196, allocations: 87.89 kB / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.4196, allocations: 0 / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.4197, allocations: 19.98 kB / 1.303 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4197, allocations: 4 kB / 1.303 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4197, allocations: 0 / 1.303 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4212, allocations: 0.7652 MB / 1.303 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.4214, allocations: 99.52 kB / 1.303 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.4215, allocations: 8 kB / 1.303 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.4218, allocations: 31.97 kB / 1.303 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4219, allocations: 32.38 kB / 1.303 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.422, allocations: 15.98 kB / 1.303 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004151/0.4224, allocations: 306.9 kB / 1.304 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4224, allocations: 0 / 1.304 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004888/0.4229, allocations: 147.6 kB / 1.304 GB, free: 6.129 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.001828/0.4247, allocations: 1.321 MB / 1.305 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4258, allocations: 490.9 kB / 1.306 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4258, allocations: 4 kB / 1.306 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.4262, allocations: 202.4 kB / 1.306 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.427, allocations: 148.4 kB / 1.306 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/0.4358, allocations: 4.922 MB / 1.311 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4362, allocations: 300.6 kB / 1.311 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.4366, allocations: 60.59 kB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.4369, allocations: 219.4 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of SimCode: time 1.282e-06/0.4369, allocations: 0 / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05058/0.4875, allocations: 12.41 MB / 1.323 GB, free: 2.141 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.95, allocations: 9.547 kB / 1.323 GB, free: 2.137 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.597827157005668]