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.001549/0.001549, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001671/0.001671, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.596/1.596, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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 1.663e-06/1.663e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.899e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.094 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.00253/0.002559, allocations: 0.9012 MB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.004492, allocations: 1.198 MB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.004612, allocations: 9.234 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.004762, allocations: 23.73 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.004836, allocations: 23.8 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.00535, allocations: 145.3 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.005624, allocations: 167.6 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.005755, allocations: 25.58 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.005913, allocations: 88.67 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.00603, allocations: 35.89 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.006066, allocations: 16.62 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.00615, allocations: 27.98 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.00618, allocations: 17.33 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.006265, allocations: 39.91 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.006602, allocations: 195.4 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006605, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.01e-07/0.006606, allocations: 1.281 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.006612, allocations: 4 kB / 0.8136 GB, free: 15.2 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.0007304/0.007342, allocations: 351.6 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007384, allocations: 8.719 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/0.007474, allocations: 16.89 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.007807, allocations: 171.1 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.007836, allocations: 8.359 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.007862, allocations: 9.094 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.00805, allocations: 88.75 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.008063, allocations: 5.422 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.008074, allocations: 384 / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.008085, allocations: 4.375 kB / 0.8143 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.008165, allocations: 29.97 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.008833, allocations: 456.7 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.008919, allocations: 26.58 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.008955, allocations: 16.91 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.008968, allocations: 0 / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.009122, allocations: 60.27 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.009123, allocations: 4 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002792/0.009402, allocations: 83.11 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.009466, allocations: 59.34 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.009671, allocations: 149.2 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.009703, allocations: 29.7 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.009816, allocations: 116.9 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.009833, allocations: 7.953 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.009916, allocations: 30.45 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.01012, allocations: 326.8 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.01025, allocations: 70.2 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01039, allocations: 84.27 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.01055, allocations: 97.39 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01056, allocations: 0.75 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003799/0.01094, allocations: 205.9 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.01099, allocations: 33.7 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01099, allocations: 64 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.56e-05/0.01103, allocations: 8.531 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.01109, allocations: 1.375 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.0111, allocations: 7.922 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.01131, allocations: 33.25 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.01133, allocations: 4 kB / 0.8161 GB, free: 12.41 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.0001477/0.01148, allocations: 125.7 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.0115, allocations: 12.53 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.01154, allocations: 17.08 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01154, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.01155, allocations: 1.562 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01155, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.01171, allocations: 133.2 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01171, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.01172, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01172, allocations: 0.5625 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01173, allocations: 5.875 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01174, allocations: 3.984 kB / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01174, allocations: 0 / 0.8164 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.0119, allocations: 101 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01192, allocations: 4.234 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.01194, allocations: 0.875 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.01196, allocations: 7.984 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.01199, allocations: 3.938 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.012, allocations: 7.453 kB / 0.8165 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001156/0.01211, allocations: 121.9 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 0 / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002339/0.01235, allocations: 20 kB / 0.8167 GB, free: 11.8 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.0001683/0.01252, allocations: 99.25 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.01281, allocations: 157 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01281, allocations: 0 / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.01285, allocations: 12.62 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.01311, allocations: 34.12 kB / 0.8169 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.01357, allocations: 196.2 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.01367, allocations: 81.36 kB / 0.8172 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.0137, allocations: 10.28 kB / 0.8172 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.01373, allocations: 12.5 kB / 0.8172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.01373, allocations: 3.938 kB / 0.8172 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.005474/0.01921, allocations: 1.527 MB / 0.8187 GB, free: 9.684 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=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: 8.019410883076489]