Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 107.7 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.91 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9635/0.9654, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.00178/0.9672, allocations: 0.7456 MB / 1.263 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.9685, allocations: 1.155 MB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.9686, allocations: 2.5 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.9687, allocations: 22.92 kB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.9688, allocations: 9.391 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.9692, allocations: 136.6 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFFlatten.flatten: time 0.0002012/0.9694, allocations: 129.9 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.9696, allocations: 27.16 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.392e-05/0.9696, allocations: 48.7 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.9697, allocations: 42.64 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.9698, allocations: 9.25 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.52e-05/0.9698, allocations: 27.86 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.9699, allocations: 11.33 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.9699, allocations: 45.98 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.9702, allocations: 116.9 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9702, allocations: 0.8125 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9702, allocations: 0 / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9702, allocations: 4.75 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004152/0.9706, allocations: 406.8 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.9707, allocations: 10.09 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.9707, allocations: 14.98 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.9709, allocations: 200.1 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.971, allocations: 8.469 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.971, allocations: 6.5 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.9711, allocations: 80.23 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.9711, allocations: 1 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.9711, allocations: 5.469 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.9711, allocations: 0.6875 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.9712, allocations: 19.28 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.9715, allocations: 497.5 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.9716, allocations: 21.78 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.9716, allocations: 11.78 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.9716, allocations: 1.484 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.544e-05/0.9717, allocations: 56.77 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.9717, allocations: 0.7812 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001813/0.9719, allocations: 74.88 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.9719, allocations: 53.33 kB / 1.266 GB, free: 4.996 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.9721, allocations: 148.4 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.9721, allocations: 27.67 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.9721, allocations: 95.64 kB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.9722, allocations: 5.781 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.9722, allocations: 30.19 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.9723, allocations: 323.7 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.9723, allocations: 31.41 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.9724, allocations: 48.95 kB / 1.267 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.9725, allocations: 88.19 kB / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9725, allocations: 0 / 1.267 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002356/0.9728, allocations: 148.8 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.9728, allocations: 40.28 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.9728, allocations: 0.875 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9728, allocations: 1.469 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-05/0.9729, allocations: 2.219 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9729, allocations: 4.844 kB / 1.267 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.9731, allocations: 36.89 kB / 1.267 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.9731, allocations: 10.27 kB / 1.267 GB, free: 4.141 MB / 0.9981 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.299e-05/0.9732, allocations: 132.2 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.9732, allocations: 7.344 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.9732, allocations: 12.03 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.9732, allocations: 1.719 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9733, allocations: 3.938 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9733, allocations: 0.5156 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.9734, allocations: 175 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.9734, allocations: 0.7812 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.9734, allocations: 1.375 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9734, allocations: 0.7812 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.9734, allocations: 5.547 kB / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9734, allocations: 0 / 1.268 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9734, allocations: 4.781 kB / 1.268 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.687e-05/0.9735, allocations: 81.48 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.9735, allocations: 84.69 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.9735, allocations: 1.281 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.566e-05/0.9736, allocations: 0.75 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.9736, allocations: 10.7 kB / 1.268 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.9736, allocations: 9.969 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.104e-05/0.9737, allocations: 110.2 kB / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9737, allocations: 0 / 1.268 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000208/0.9739, allocations: 17 kB / 1.268 GB, free: 3.516 MB / 0.9981 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001146/0.974, allocations: 105.1 kB / 1.268 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.9742, allocations: 115.3 kB / 1.268 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9742, allocations: 4.812 kB / 1.268 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.9743, allocations: 20.08 kB / 1.268 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.9745, allocations: 12.08 kB / 1.268 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.9748, allocations: 189.6 kB / 1.268 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.9749, allocations: 0.6887 MB / 1.269 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.9749, allocations: 11.98 kB / 1.269 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.9749, allocations: 0 / 1.269 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of Templates: time 0.003162/0.9781, allocations: 1.15 MB / 1.27 GB, free: 2.344 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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: 10.80038303998299]