Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005103/0.005103, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 202.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 482.4 MB / 0.7548 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.12 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2787, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002249/0.281, allocations: 0.9966 MB / 1.242 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.2833, allocations: 1.572 MB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.2834, allocations: 4 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.2834, allocations: 19.69 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2835, allocations: 27.78 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.2842, allocations: 231 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.2846, allocations: 339.4 kB / 1.245 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.2848, allocations: 74.52 kB / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.285, allocations: 143.6 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2852, allocations: 131.5 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.2853, allocations: 36 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2854, allocations: 47.98 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.2855, allocations: 63.88 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.2857, allocations: 139.4 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.2861, allocations: 334.9 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2861, allocations: 4 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2861, allocations: 0 / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2861, allocations: 0 / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009435/0.287, allocations: 0.5513 MB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2871, allocations: 8.031 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.274e-05/0.2871, allocations: 46.73 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.2872, allocations: 24.84 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2876, allocations: 279.9 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.2877, allocations: 24.64 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.2877, allocations: 24.38 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.2883, allocations: 243.8 kB / 1.247 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2883, allocations: 4 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.2883, allocations: 11.98 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.2883, allocations: 8 kB / 1.247 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.2888, allocations: 192.7 kB / 1.247 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2899, allocations: 0.6486 MB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.2903, allocations: 202.4 kB / 1.248 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2907, allocations: 124.8 kB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2907, allocations: 7.938 kB / 1.248 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005717/0.2913, allocations: 273.9 kB / 1.248 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.2913, allocations: 4 kB / 1.248 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.001136/0.2924, allocations: 460.1 kB / 1.249 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.2925, allocations: 63.33 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.2926, allocations: 159.3 kB / 1.249 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2927, allocations: 45.69 kB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.2928, allocations: 121 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.2929, allocations: 67.47 kB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.293, allocations: 81.67 kB / 1.249 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2932, allocations: 330.8 kB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.2934, allocations: 104 kB / 1.249 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.2937, allocations: 146.8 kB / 1.25 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.2941, allocations: 217.4 kB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.2941, allocations: 0 / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006759/0.2948, allocations: 356.3 kB / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.2949, allocations: 41.77 kB / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2949, allocations: 0 / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2949, allocations: 0 / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2951, allocations: 35.91 kB / 1.25 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.2951, allocations: 0 / 1.25 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.2953, allocations: 55.8 kB / 1.25 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.2954, allocations: 15.98 kB / 1.25 GB, free: 0.8633 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition8,$whenCondition9,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001606/0.2956, allocations: 158.3 kB / 1.25 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.2956, allocations: 23.83 kB / 1.25 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.2957, allocations: 17.88 kB / 1.25 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2957, allocations: 4 kB / 1.25 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2957, allocations: 0 / 1.25 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2957, allocations: 7.922 kB / 1.25 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4582/0.7539, allocations: 0.7406 MB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7539, allocations: 0.9688 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.754, allocations: 18.91 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.754, allocations: 0.8125 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.754, allocations: 14.38 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.7541, allocations: 2.203 kB / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7541, allocations: 0 / 1.251 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.7548, allocations: 452.4 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.7549, allocations: 89.77 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.7549, allocations: 22.61 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.7551, allocations: 18.91 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.7552, allocations: 34.72 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.7552, allocations: 22.59 kB / 1.252 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.7553, allocations: 111.4 kB / 1.252 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7553, allocations: 0 / 1.252 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003704/0.7557, allocations: 70.33 kB / 1.252 GB, free: 14.69 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition7,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000954/0.7566, allocations: 1.027 MB / 1.253 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.7573, allocations: 350.4 kB / 1.253 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7573, allocations: 1.906 kB / 1.253 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.7576, allocations: 172.4 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.758, allocations: 24.78 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.7606, allocations: 2.387 MB / 1.256 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.7608, allocations: 0.729 MB / 1.257 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.7609, allocations: 20.44 kB / 1.257 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.761, allocations: 62.47 kB / 1.257 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.761, allocations: 0 / 1.257 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.7867, allocations: 4.686 MB / 1.261 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.519, allocations: 11.14 kB / 1.261 GB, free: 11.29 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches