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.0008955/0.0008955, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009351/0.0009351, allocations: 173.3 kB / 23.5 MB, free: 1.059 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 0.9816/0.9816, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.046/2.046, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] 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.833e-06/1.833e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.888e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.68 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.001941/0.00197, allocations: 0.929 MB / 0.8791 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.003034, allocations: 1.212 MB / 0.8803 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.003102, allocations: 7.938 kB / 0.8803 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.003224, allocations: 23.73 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.003263, allocations: 19.86 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.003611, allocations: 148.4 kB / 0.8805 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.003775, allocations: 167.6 kB / 0.8806 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003875, allocations: 31.05 kB / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.003961, allocations: 83.81 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.004042, allocations: 43.86 kB / 0.8808 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.004064, allocations: 16 kB / 0.8808 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.238e-05/0.004116, allocations: 25.25 kB / 0.8808 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.004137, allocations: 15.92 kB / 0.8808 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.004189, allocations: 43.91 kB / 0.8809 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004344, allocations: 118.9 kB / 0.881 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004346, allocations: 3.938 kB / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004346, allocations: 0 / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.004351, allocations: 0 / 0.881 GB, free: 3.82 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.0004205/0.004771, allocations: 465.8 kB / 0.8814 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004806, allocations: 12.03 kB / 0.8814 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.004859, allocations: 16.89 kB / 0.8815 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.005042, allocations: 170.6 kB / 0.8816 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.005059, allocations: 5.969 kB / 0.8816 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.005074, allocations: 4.375 kB / 0.8816 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005179, allocations: 94 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.005186, allocations: 192 / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.005196, allocations: 4.375 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.005202, allocations: 5.812 kB / 0.8817 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.005238, allocations: 19.86 kB / 0.8817 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.005612, allocations: 0.599 MB / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.005658, allocations: 35.06 kB / 0.8824 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.005675, allocations: 11.69 kB / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.005682, allocations: 4.062 kB / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/0.005761, allocations: 72.92 kB / 0.8824 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.005763, allocations: 0 / 0.8824 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.005917, allocations: 69.64 kB / 0.8825 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.005945, allocations: 51.41 kB / 0.8826 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.006051, allocations: 203.9 kB / 0.8828 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.006067, allocations: 29.7 kB / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.006128, allocations: 154.8 kB / 0.8829 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.006145, allocations: 19.84 kB / 0.8829 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.00619, allocations: 43.28 kB / 0.883 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.00629, allocations: 0.4883 MB / 0.8835 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.006355, allocations: 65.61 kB / 0.8835 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.006414, allocations: 80.75 kB / 0.8836 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.006496, allocations: 88.75 kB / 0.8837 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006498, allocations: 0 / 0.8837 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001728/0.00667, allocations: 181 kB / 0.8839 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.006696, allocations: 41.7 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.0067, allocations: 3.938 kB / 0.8839 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.006712, allocations: 4 kB / 0.8839 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.006753, allocations: 3.984 kB / 0.8839 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.006759, allocations: 4 kB / 0.8839 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.006856, allocations: 20.28 kB / 0.8839 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.006867, allocations: 4 kB / 0.8839 GB, free: 500 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.0001973/0.007065, allocations: 164.5 kB / 0.8841 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.007078, allocations: 23.92 kB / 0.8841 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.007101, allocations: 8.344 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007103, allocations: 0 / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.007107, allocations: 4 kB / 0.8841 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00711, allocations: 0 / 0.8841 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.72e-05/0.007187, allocations: 140.5 kB / 0.8843 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.007188, allocations: 0 / 0.8843 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.007198, allocations: 7.984 kB / 0.8843 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.007198, allocations: 0 / 0.8843 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.007205, allocations: 4 kB / 0.8843 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007205, allocations: 0 / 0.8843 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007206, allocations: 7.938 kB / 0.8843 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.007292, allocations: 100.3 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.007303, allocations: 11.94 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.007313, allocations: 0 / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.007326, allocations: 4 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.00735, allocations: 4 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.007353, allocations: 0 / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.007414, allocations: 157.2 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007414, allocations: 0 / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001409/0.007555, allocations: 27.94 kB / 0.8846 GB, free: 15.76 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 9.711e-05/0.007652, allocations: 107.2 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.007815, allocations: 156.7 kB / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007816, allocations: 0 / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.007838, allocations: 15.69 kB / 0.8848 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.008008, allocations: 21.8 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.008276, allocations: 193.8 kB / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.008307, allocations: 59.47 kB / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.008334, allocations: 12.72 kB / 0.8851 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.008351, allocations: 12.5 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.008352, allocations: 0 / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.002978/0.01133, allocations: 1.534 MB / 0.8866 GB, free: 13.62 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.26353859086521]