Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00113/0.00113, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008198/0.0008198, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8612/0.8612, allocations: 177.2 MB / 203.5 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.9 MB / 0.6228 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.861e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.001607/0.001626, allocations: 0.8919 MB / 0.9831 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002688, allocations: 1.201 MB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.002762, allocations: 4 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.002878, allocations: 23.72 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.002915, allocations: 19.81 kB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.003259, allocations: 149.2 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003421, allocations: 175.5 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.003518, allocations: 25.56 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.607e-05/0.003594, allocations: 87.88 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.003672, allocations: 39.88 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.003697, allocations: 16 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.246e-05/0.003749, allocations: 27.92 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.003771, allocations: 15.94 kB / 0.9848 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.003818, allocations: 47.89 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.003996, allocations: 179.5 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003997, allocations: 0 / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003998, allocations: 4 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.004001, allocations: 0 / 0.985 GB, free: 15.2 MB / 0.948 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.0003802/0.004382, allocations: 359.5 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.004413, allocations: 12.03 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.004453, allocations: 12.89 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.004633, allocations: 169.5 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.004656, allocations: 8.359 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.004674, allocations: 12.38 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.004779, allocations: 80.75 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.004788, allocations: 4.188 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004797, allocations: 384 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.004801, allocations: 384 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.004848, allocations: 35.88 kB / 0.9857 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.005187, allocations: 464.6 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.005235, allocations: 26.58 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.005253, allocations: 12.91 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.005261, allocations: 0 / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/0.005342, allocations: 71.33 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005343, allocations: 3.938 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.005509, allocations: 73.64 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.005541, allocations: 55.41 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.005643, allocations: 157.6 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.005659, allocations: 29.7 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.005712, allocations: 108 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.005727, allocations: 11.94 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.005768, allocations: 29.7 kB / 0.9867 GB, free: 13.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.005841, allocations: 326.8 kB / 0.987 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.005912, allocations: 69.67 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.005979, allocations: 92.2 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.006062, allocations: 88.27 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006064, allocations: 4 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001982/0.006262, allocations: 200.9 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.00629, allocations: 33.7 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006295, allocations: 0 / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006309, allocations: 4 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.006363, allocations: 3.938 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.006367, allocations: 0 / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.006476, allocations: 39.84 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.006489, allocations: 12.05 kB / 0.9875 GB, free: 12.38 MB / 0.948 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 6.828e-05/0.006557, allocations: 121.8 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.006568, allocations: 11.91 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.006588, allocations: 12.33 kB / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00659, allocations: 0 / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.006593, allocations: 4 kB / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006595, allocations: 0 / 0.9876 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.731e-05/0.006673, allocations: 129.2 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006673, allocations: 4 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-06/0.006681, allocations: 0 / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006682, allocations: 4 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006688, allocations: 4.062 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00669, allocations: 4 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00669, allocations: 0 / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.974e-05/0.00677, allocations: 105.2 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.006782, allocations: 7.953 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.006791, allocations: 0 / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.006802, allocations: 0 / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.006823, allocations: 3.984 kB / 0.9879 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006826, allocations: 7.938 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.006879, allocations: 117.7 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006879, allocations: 4 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001416/0.007021, allocations: 20 kB / 0.988 GB, free: 11.78 MB / 0.948 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.963e-05/0.00712, allocations: 107.2 kB / 0.9881 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.007279, allocations: 157 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00728, allocations: 0 / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.007304, allocations: 12 kB / 0.9883 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.007456, allocations: 26.67 kB / 0.9883 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.007726, allocations: 210.9 kB / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.509e-05/0.007771, allocations: 80.31 kB / 0.9886 GB, free: 11.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.007787, allocations: 12.5 kB / 0.9886 GB, free: 11.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.007787, allocations: 0 / 0.9886 GB, free: 11.1 MB / 0.948 GB Notification: Performance of Templates: time 0.002323/0.01011, allocations: 1.45 MB / 0.99 GB, free: 9.664 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.428050875663757]