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.001228/0.001228, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001532/0.001532, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.083/1.083, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.252/2.252, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 2.145e-06/2.145e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.455e-05, allocations: 6.094 kB / 0.8794 GB, free: 6.016 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.002453/0.002488, allocations: 0.9133 MB / 0.8803 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.00427, allocations: 1.214 MB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004373, allocations: 0.8438 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.00452, allocations: 27.73 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.004591, allocations: 24.59 kB / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.005089, allocations: 144.3 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.005348, allocations: 172.1 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005461, allocations: 25.56 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.005601, allocations: 76.7 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005708, allocations: 51.73 kB / 0.882 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.005739, allocations: 13.69 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.005811, allocations: 28 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.00584, allocations: 15.91 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.005897, allocations: 47.91 kB / 0.8821 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.006094, allocations: 112.9 kB / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.006097, allocations: 0 / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.82e-07/0.006097, allocations: 0 / 0.8822 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006102, allocations: 0 / 0.8822 GB, free: 3.18 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.0005044/0.006607, allocations: 470.9 kB / 0.8826 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.006644, allocations: 8.031 kB / 0.8826 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.006701, allocations: 29.42 kB / 0.8827 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.006921, allocations: 164.2 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.006945, allocations: 12.31 kB / 0.8828 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.006966, allocations: 8.375 kB / 0.8828 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.007086, allocations: 86 kB / 0.8829 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.007096, allocations: 4.125 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.007108, allocations: 12.36 kB / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.007115, allocations: 384 / 0.8829 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.007152, allocations: 15.92 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.007623, allocations: 0.5606 MB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.007684, allocations: 39 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.007705, allocations: 21.05 kB / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-06/0.00771, allocations: 0 / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.866e-05/0.007809, allocations: 69.05 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.007811, allocations: 0 / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001778/0.007988, allocations: 66.61 kB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.008026, allocations: 55.34 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.008161, allocations: 206.9 kB / 0.8839 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.008184, allocations: 25.7 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.008266, allocations: 154.8 kB / 0.8841 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.008285, allocations: 16.95 kB / 0.8841 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.008355, allocations: 39.34 kB / 0.8842 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.008509, allocations: 0.4884 MB / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.008592, allocations: 62.77 kB / 0.8847 GB, free: 388 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.008668, allocations: 80.73 kB / 0.8848 GB, free: 288 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.008768, allocations: 87.56 kB / 0.8849 GB, free: 184 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.008772, allocations: 3.938 kB / 0.8849 GB, free: 180 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002702/0.009042, allocations: 173 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.009078, allocations: 41.64 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.009083, allocations: 0 / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.009094, allocations: 4 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.009136, allocations: 5.594 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.009142, allocations: 4 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.009282, allocations: 15.98 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.009299, allocations: 4.625 kB / 0.8851 GB, free: 15.91 MB / 0.8542 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.000103/0.009402, allocations: 170.2 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.009421, allocations: 11.95 kB / 0.8853 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.009448, allocations: 4.344 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00945, allocations: 0 / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.009452, allocations: 4 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009456, allocations: 4.438 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.009568, allocations: 118 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.00957, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.009588, allocations: 0.7188 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.009592, allocations: 3.938 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.009596, allocations: 5.594 kB / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009598, allocations: 0 / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009599, allocations: 0 / 0.8854 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.00972, allocations: 104.4 kB / 0.8855 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.009738, allocations: 12.17 kB / 0.8855 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.009752, allocations: 8.062 kB / 0.8855 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.009779, allocations: 4 kB / 0.8855 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.009799, allocations: 0 / 0.8855 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.009806, allocations: 7.969 kB / 0.8855 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.009875, allocations: 145.1 kB / 0.8857 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.009875, allocations: 7.938 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002627/0.01014, allocations: 27.92 kB / 0.8857 GB, free: 15.22 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.0001403/0.01028, allocations: 103.2 kB / 0.8858 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01047, allocations: 144.8 kB / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01047, allocations: 0 / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.0105, allocations: 19.62 kB / 0.886 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01074, allocations: 17.3 kB / 0.886 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.01107, allocations: 185.8 kB / 0.8862 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.01112, allocations: 71.27 kB / 0.8862 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.01115, allocations: 4.734 kB / 0.8862 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/0.01335, allocations: 98.3 kB / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/0.01335, allocations: 0 / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004331/0.01768, allocations: 1.702 MB / 0.888 GB, free: 12.84 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.803519355133176]