Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.88 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7648, allocations: 160.7 MB / 1.213 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006329/0.7712, allocations: 4.151 MB / 1.217 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.7741, allocations: 1.347 MB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005609/0.7747, allocations: 25.5 kB / 1.218 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.775, allocations: 127 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.7755, allocations: 189.1 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.7764, allocations: 419.5 kB / 1.219 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00102/0.7774, allocations: 0.9459 MB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.7779, allocations: 308.7 kB / 1.22 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.7783, allocations: 341 kB / 1.221 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.7787, allocations: 333 kB / 1.221 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.7788, allocations: 91.38 kB / 1.221 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.7789, allocations: 90.56 kB / 1.221 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.7791, allocations: 178.7 kB / 1.221 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.7795, allocations: 392.4 kB / 1.222 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.7806, allocations: 1.071 MB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7806, allocations: 1.156 kB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7806, allocations: 0 / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.7806, allocations: 0 / 1.223 GB, free: 12.21 MB / 0.9356 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.002/0.7826, allocations: 1.098 MB / 1.224 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7827, allocations: 9.969 kB / 1.224 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.7828, allocations: 102.6 kB / 1.224 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.783, allocations: 85.33 kB / 1.224 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.784, allocations: 0.5748 MB / 1.224 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.784, allocations: 41.66 kB / 1.224 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.7841, allocations: 59.34 kB / 1.225 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.7852, allocations: 0.6097 MB / 1.225 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7852, allocations: 4.922 kB / 1.225 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.7853, allocations: 26.52 kB / 1.225 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.7853, allocations: 13.16 kB / 1.225 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.7863, allocations: 462.2 kB / 1.226 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.7893, allocations: 1.993 MB / 1.228 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.7903, allocations: 423.8 kB / 1.228 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004478/0.7907, allocations: 222 kB / 1.228 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.7908, allocations: 10.02 kB / 1.228 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005761/0.7913, allocations: 265.1 kB / 1.228 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 2.504e-06/0.7913, allocations: 0 / 1.228 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001379/0.7927, allocations: 0.5842 MB / 1.229 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.7928, allocations: 59.84 kB / 1.229 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.7933, allocations: 450 kB / 1.229 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.7934, allocations: 33.7 kB / 1.23 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.7937, allocations: 325.6 kB / 1.23 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.7938, allocations: 178.5 kB / 1.23 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.794, allocations: 90.25 kB / 1.23 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.7942, allocations: 366.8 kB / 1.23 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.7946, allocations: 169 kB / 1.231 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.7951, allocations: 253.8 kB / 1.231 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.7959, allocations: 456 kB / 1.231 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7959, allocations: 0 / 1.231 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001087/0.797, allocations: 0.5626 MB / 1.232 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/0.7971, allocations: 40.75 kB / 1.232 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7971, allocations: 4 kB / 1.232 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.7971, allocations: 4 kB / 1.232 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.7976, allocations: 115.8 kB / 1.232 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.7976, allocations: 4 kB / 1.232 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.798, allocations: 59.61 kB / 1.232 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.798, allocations: 23.98 kB / 1.232 GB, free: 4.227 MB / 0.9356 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002988/0.7983, allocations: 209.7 kB / 1.232 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.7984, allocations: 63.56 kB / 1.232 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.7986, allocations: 61.58 kB / 1.232 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.7986, allocations: 4 kB / 1.232 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7986, allocations: 0 / 1.232 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7986, allocations: 4 kB / 1.232 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.8005, allocations: 1.182 MB / 1.234 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8005, allocations: 0 / 1.234 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.801, allocations: 95.88 kB / 1.234 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.801, allocations: 0 / 1.234 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.801, allocations: 8 kB / 1.234 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.801, allocations: 4 kB / 1.234 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.801, allocations: 0 / 1.234 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.8025, allocations: 0.7654 MB / 1.234 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.8027, allocations: 180.6 kB / 1.235 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.8028, allocations: 12 kB / 1.235 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.803, allocations: 15.98 kB / 1.235 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.8031, allocations: 44.36 kB / 1.235 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.8032, allocations: 20 kB / 1.235 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003856/0.8036, allocations: 306.9 kB / 1.235 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8036, allocations: 0 / 1.235 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004684/0.804, allocations: 139.6 kB / 1.235 GB, free: 1.039 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.001787/0.8058, allocations: 1.325 MB / 1.236 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009649/0.8068, allocations: 465.5 kB / 1.237 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8068, allocations: 7.875 kB / 1.237 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.8072, allocations: 206.4 kB / 1.237 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.808, allocations: 147.2 kB / 1.237 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.8155, allocations: 4.81 MB / 1.242 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.8161, allocations: 0.8898 MB / 1.243 GB, free: 9 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.8164, allocations: 68.58 kB / 1.243 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.8167, allocations: 219.4 kB / 1.243 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/0.8167, allocations: 0 / 1.243 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.8563, allocations: 11.39 MB / 1.254 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.466, allocations: 7.812 kB / 1.254 GB, free: 13.52 MB / 0.9669 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.431120940949768]