Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.002556/0.002556, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002145/0.002145, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.5/3.5, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.741e-05, allocations: 3.516 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002437/0.002465, allocations: 0.9156 MB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.004392, allocations: 1.186 MB / 0.8795 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.004495, allocations: 7.938 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.004665, allocations: 31.06 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.004739, allocations: 19.86 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.00523, allocations: 143.6 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.005518, allocations: 175.5 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.005651, allocations: 21.58 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005809, allocations: 83.86 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.00593, allocations: 39.89 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.005974, allocations: 16.88 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.744e-05/0.006061, allocations: 23.98 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.006095, allocations: 20.95 kB / 0.88 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.006181, allocations: 43.91 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.006517, allocations: 191.4 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.00652, allocations: 1.125 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00652, allocations: 0 / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.006526, allocations: 0 / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008483/0.007374, allocations: 462.6 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.007417, allocations: 12.03 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.007509, allocations: 24.83 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.007839, allocations: 173 kB / 0.8809 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.007863, allocations: 8.312 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.007892, allocations: 13.34 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.008073, allocations: 93.23 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008083, allocations: 1.25 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008093, allocations: 384 / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.008102, allocations: 4.375 kB / 0.881 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.008182, allocations: 33.12 kB / 0.8811 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.008918, allocations: 0.603 MB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.009005, allocations: 40.14 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.00904, allocations: 15.75 kB / 0.8817 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.009052, allocations: 0 / 0.8817 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.009189, allocations: 81.58 kB / 0.8818 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.00919, allocations: 0 / 0.8818 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002544/0.009445, allocations: 86.67 kB / 0.8819 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.009495, allocations: 55.39 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.009718, allocations: 226.5 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.009748, allocations: 29.7 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.009866, allocations: 155.5 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.009885, allocations: 11.95 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.00997, allocations: 38.8 kB / 0.8824 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.01024, allocations: 0.5 MB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.01037, allocations: 77.69 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01053, allocations: 108.9 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.01069, allocations: 104.8 kB / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01069, allocations: 0 / 0.8831 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003806/0.01107, allocations: 216.9 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.01112, allocations: 38.28 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01113, allocations: 1.141 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01115, allocations: 3.984 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.01121, allocations: 11.94 kB / 0.8834 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.01121, allocations: 0.5625 kB / 0.8834 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.01141, allocations: 25.45 kB / 0.8834 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.01143, allocations: 7.984 kB / 0.8834 GB, free: 288 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001474/0.01158, allocations: 172.5 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.0116, allocations: 12.02 kB / 0.8836 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01164, allocations: 12.34 kB / 0.8836 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01164, allocations: 0 / 0.8836 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01165, allocations: 0 / 0.8836 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01165, allocations: 3.984 kB / 0.8836 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.01184, allocations: 152.5 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01184, allocations: 0 / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.01187, allocations: 8.062 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01187, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01187, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01188, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01188, allocations: 4 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.01205, allocations: 116.2 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.01208, allocations: 11.91 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01209, allocations: 0 / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.01212, allocations: 4 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01215, allocations: 7.984 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.01215, allocations: 0 / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001443/0.0123, allocations: 161.2 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0123, allocations: 0 / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002282/0.01253, allocations: 23.98 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001824/0.01271, allocations: 106.6 kB / 0.8842 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.01303, allocations: 188.7 kB / 0.8843 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01303, allocations: 4 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.01308, allocations: 19.69 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01334, allocations: 30.22 kB / 0.8844 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.0138, allocations: 205.8 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.219e-05/0.01389, allocations: 84.45 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.433e-05/0.01393, allocations: 8.719 kB / 0.8847 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.01396, allocations: 12.5 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01396, allocations: 0 / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00542/0.01938, allocations: 1.541 MB / 0.8862 GB, free: 13.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 8.689600555924699]