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.006633/0.006633, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001757/0.001757, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 60.69 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 162.3 MB / 1.242 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001925/0.2721, allocations: 0.9774 MB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.274, allocations: 1.589 MB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.2741, allocations: 4 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.2741, allocations: 15.8 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.2742, allocations: 27.72 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2748, allocations: 234.6 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.2751, allocations: 335.4 kB / 1.245 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2753, allocations: 82.48 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.2755, allocations: 147.6 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2757, allocations: 131.6 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.2757, allocations: 32 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.2758, allocations: 47.97 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.2759, allocations: 67.77 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.276, allocations: 127.5 kB / 1.246 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.2764, allocations: 343.1 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2764, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2764, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2764, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9669 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.0008298/0.2772, allocations: 0.5491 MB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2773, allocations: 12.03 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.2773, allocations: 50.72 kB / 1.246 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.2774, allocations: 28.8 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.2777, allocations: 267.9 kB / 1.247 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2778, allocations: 24.66 kB / 1.247 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.2778, allocations: 28.36 kB / 1.247 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.2783, allocations: 239.8 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2783, allocations: 0 / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.2784, allocations: 19.95 kB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.2784, allocations: 4 kB / 1.247 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2788, allocations: 200.6 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.2797, allocations: 0.6525 MB / 1.248 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.2801, allocations: 198.5 kB / 1.248 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.2804, allocations: 132.8 kB / 1.248 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2804, allocations: 7.922 kB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.2809, allocations: 274.1 kB / 1.248 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.281, allocations: 4 kB / 1.248 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.001002/0.282, allocations: 463.4 kB / 1.249 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.282, allocations: 55.41 kB / 1.249 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2821, allocations: 147.8 kB / 1.249 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.2822, allocations: 45.7 kB / 1.249 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2823, allocations: 124.9 kB / 1.249 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.2824, allocations: 71.53 kB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2825, allocations: 77.67 kB / 1.249 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2826, allocations: 326.8 kB / 1.25 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2828, allocations: 107.9 kB / 1.25 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2831, allocations: 142.8 kB / 1.25 GB, free: 408 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.2834, allocations: 221.2 kB / 1.25 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2834, allocations: 3.938 kB / 1.25 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005925/0.284, allocations: 352.5 kB / 1.251 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.2841, allocations: 37.69 kB / 1.251 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2841, allocations: 3.938 kB / 1.251 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2841, allocations: 4 kB / 1.251 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.2842, allocations: 31.92 kB / 1.251 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.2843, allocations: 12.06 kB / 1.251 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.2845, allocations: 51.8 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.2845, allocations: 12 kB / 1.251 GB, free: 15.65 MB / 0.9825 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.0001501/0.2847, allocations: 161.8 kB / 1.251 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.2847, allocations: 23.78 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.2848, allocations: 25.86 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2848, allocations: 0 / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2848, allocations: 0 / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2848, allocations: 4 kB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2858, allocations: 0.7363 MB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2858, allocations: 4 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.2859, allocations: 11.98 kB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2859, allocations: 7.938 kB / 1.252 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.2859, allocations: 11.98 kB / 1.252 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.286, allocations: 0 / 1.252 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.286, allocations: 3.984 kB / 1.252 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.2867, allocations: 460.4 kB / 1.252 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.2867, allocations: 96.94 kB / 1.252 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.2868, allocations: 20 kB / 1.252 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.287, allocations: 19.97 kB / 1.252 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.287, allocations: 27.97 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.2871, allocations: 23.97 kB / 1.252 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.2871, allocations: 108.8 kB / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2871, allocations: 0 / 1.252 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002921/0.2874, allocations: 63.95 kB / 1.252 GB, free: 13.76 MB / 0.9825 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.001072/0.2885, allocations: 1.027 MB / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.2891, allocations: 351.8 kB / 1.254 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2892, allocations: 0 / 1.254 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2895, allocations: 167.9 kB / 1.254 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2898, allocations: 27.97 kB / 1.254 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.2926, allocations: 2.384 MB / 1.256 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2929, allocations: 0.7287 MB / 1.257 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.404e-05/0.293, allocations: 21.94 kB / 1.257 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.2931, allocations: 59.41 kB / 1.257 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.2931, allocations: 0 / 1.257 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5861/0.8793, allocations: 4.689 MB / 1.262 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.762, allocations: 4.344 kB / 1.262 GB, free: 4.309 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 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.mat","/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