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.001436/0.001436, allocations: 88.72 kB / 19.44 MB, free: 360 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.001756/0.001756, allocations: 157.6 kB / 22.75 MB, free: 1.688 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.165/3.165, allocations: 429.6 MB / 0.673 GB, free: 3.887 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 2.454e-06/2.454e-06, allocations: 1.203 kB / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.228e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.531 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.003421/0.003454, allocations: 0.9038 MB / 0.8785 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.006202, allocations: 1.198 MB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.006313, allocations: 4 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.006482, allocations: 23.78 kB / 0.8797 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.006575, allocations: 15.81 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.00726, allocations: 144.5 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.007628, allocations: 175.5 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.007771, allocations: 22.61 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.007977, allocations: 87.86 kB / 0.8801 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.008128, allocations: 39.83 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.00818, allocations: 16.78 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.008285, allocations: 31.91 kB / 0.8802 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.008324, allocations: 16.88 kB / 0.8802 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.008441, allocations: 47.84 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.008851, allocations: 183.1 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.008853, allocations: 4 kB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.008854, allocations: 0 / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.00886, allocations: 0 / 0.8804 GB, free: 3.656 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.0007726/0.009633, allocations: 363.6 kB / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.009676, allocations: 8.031 kB / 0.8808 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.009784, allocations: 20.84 kB / 0.8808 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.01017, allocations: 168.6 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.0102, allocations: 9.062 kB / 0.881 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.01024, allocations: 8.359 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.01046, allocations: 77.42 kB / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01048, allocations: 8.672 kB / 0.881 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.01049, allocations: 4.375 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.0105, allocations: 5.469 kB / 0.8811 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.01061, allocations: 27.88 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.01145, allocations: 458.2 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.01155, allocations: 26.58 kB / 0.8815 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.01159, allocations: 16.91 kB / 0.8816 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.01161, allocations: 7.938 kB / 0.8816 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.01178, allocations: 67.34 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.01178, allocations: 0 / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003221/0.01211, allocations: 73.64 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.01218, allocations: 55.41 kB / 0.8818 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.01244, allocations: 162.4 kB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.01248, allocations: 25.7 kB / 0.8819 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.01263, allocations: 108.1 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.01265, allocations: 3.953 kB / 0.882 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.01277, allocations: 29.7 kB / 0.8821 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002611/0.01303, allocations: 326.8 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01323, allocations: 77.67 kB / 0.8825 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.01344, allocations: 84.27 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.01367, allocations: 96.27 kB / 0.8826 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.01367, allocations: 4 kB / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005698/0.01424, allocations: 204.9 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.01431, allocations: 37.7 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01432, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.01434, allocations: 4 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.01439, allocations: 4.062 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.0144, allocations: 4 kB / 0.8829 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.01471, allocations: 31.89 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.01475, allocations: 4 kB / 0.8829 GB, free: 0.8438 MB / 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.000165/0.01491, allocations: 125.8 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.01494, allocations: 8.188 kB / 0.883 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.01499, allocations: 20.31 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.015, allocations: 0 / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.015, allocations: 4 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.015, allocations: 0 / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.01521, allocations: 133.2 kB / 0.8832 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01521, allocations: 0 / 0.8832 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.01524, allocations: 7.938 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01525, allocations: 4 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.01525, allocations: 0 / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01526, allocations: 0 / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.01526, allocations: 3.984 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.01548, allocations: 93.02 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.01551, allocations: 11.91 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01554, allocations: 8 kB / 0.8833 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.01557, allocations: 0 / 0.8833 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.01561, allocations: 3.984 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01562, allocations: 4 kB / 0.8833 GB, free: 368 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001599/0.01578, allocations: 117.3 kB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01578, allocations: 0 / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004107/0.01619, allocations: 16 kB / 0.8834 GB, free: 236 kB / 0.8386 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.0002147/0.0164, allocations: 111.1 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.01682, allocations: 153.1 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01682, allocations: 4.062 kB / 0.8837 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.575e-05/0.01688, allocations: 15.94 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.01728, allocations: 38.67 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.01783, allocations: 188.2 kB / 0.8839 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.01796, allocations: 84.31 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.435e-05/0.01801, allocations: 12.72 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.01805, allocations: 12.5 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.01805, allocations: 0 / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.006975/0.02502, allocations: 1.53 MB / 0.8855 GB, free: 14.07 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] 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.176519297994673]