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.002411/0.002411, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002695/0.002695, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.146/3.146, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.284e-06/2.284e-06, allocations: 3.938 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.946e-05, allocations: 8.359 kB / 0.8108 GB, free: 2.105 MB / 0.7605 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.002358/0.002387, allocations: 0.913 MB / 0.8117 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.00421, allocations: 1.187 MB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.381e-05/0.004293, allocations: 4.594 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.004464, allocations: 27.84 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.004525, allocations: 22.14 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/0.00526, allocations: 147.5 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.005521, allocations: 171.5 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005642, allocations: 25.56 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.005792, allocations: 85.17 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.00591, allocations: 43.86 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.005947, allocations: 12 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.006021, allocations: 25.56 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.006051, allocations: 15.92 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.006128, allocations: 43.91 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.006431, allocations: 187.4 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.006438, allocations: 4 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006439, allocations: 1.688 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.006444, allocations: 0 / 0.8136 GB, free: 15.22 MB / 0.7761 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.0007079/0.007152, allocations: 465.5 kB / 0.8141 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.007197, allocations: 12.03 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.007272, allocations: 17.8 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.007576, allocations: 176.8 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.007604, allocations: 4.906 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.007628, allocations: 8.906 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.007793, allocations: 89.3 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.007801, allocations: 1.375 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.007811, allocations: 4.375 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.007815, allocations: 384 / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.007889, allocations: 32.39 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.008601, allocations: 0.612 MB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.008703, allocations: 39.06 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.008738, allocations: 11.75 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.008755, allocations: 5.156 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.008912, allocations: 76.97 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.008913, allocations: 0.9688 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002949/0.009208, allocations: 77.64 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.009278, allocations: 55.41 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.009544, allocations: 225.4 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.009585, allocations: 29.7 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.009741, allocations: 163.8 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.00976, allocations: 7.938 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.009849, allocations: 39.36 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003185/0.01017, allocations: 0.5013 MB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.01031, allocations: 77.67 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.01047, allocations: 112.6 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.01063, allocations: 105.6 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01063, allocations: 1.094 kB / 0.8165 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003748/0.01101, allocations: 216.9 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.01106, allocations: 39.08 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01107, allocations: 0 / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01108, allocations: 3.938 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.01114, allocations: 4 kB / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.01115, allocations: 5.391 kB / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.01132, allocations: 23.88 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.01134, allocations: 15 kB / 0.8168 GB, free: 11.72 MB / 0.7761 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.0001582/0.0115, allocations: 168.5 kB / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.01153, allocations: 19.94 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.01157, allocations: 4.344 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01157, allocations: 4 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01158, allocations: 0 / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01158, allocations: 240 / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.01176, allocations: 157 kB / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01176, allocations: 0 / 0.8171 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.01178, allocations: 9.922 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.01178, allocations: 3.984 kB / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.01179, allocations: 0 / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01179, allocations: 0 / 0.8171 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01179, allocations: 3.938 kB / 0.8171 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01196, allocations: 105.2 kB / 0.8172 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01198, allocations: 15.94 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.012, allocations: 0.8438 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.01202, allocations: 0 / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.01205, allocations: 4 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.01205, allocations: 2.688 kB / 0.8173 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001293/0.01218, allocations: 163.2 kB / 0.8174 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01218, allocations: 0 / 0.8174 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002223/0.01241, allocations: 19.95 kB / 0.8174 GB, free: 10.99 MB / 0.7761 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.0001809/0.01259, allocations: 111.2 kB / 0.8175 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.0129, allocations: 191.5 kB / 0.8177 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.01291, allocations: 3.938 kB / 0.8177 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.01295, allocations: 23.67 kB / 0.8177 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.0132, allocations: 25.86 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.01363, allocations: 194.8 kB / 0.818 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.01373, allocations: 85.44 kB / 0.818 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.01376, allocations: 5.859 kB / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.01378, allocations: 12.5 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01378, allocations: 0 / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.005086/0.01887, allocations: 1.543 MB / 0.8196 GB, free: 8.781 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] 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: 8.290489415987395]