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.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.00079/0.00079, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007958/0.0007958, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8384/0.8384, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.696/1.696, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.621e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001204/0.00122, allocations: 0.723 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002256, allocations: 1.179 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.002312, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.002434, allocations: 27.72 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.002458, allocations: 15.92 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.002809, allocations: 130.8 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.002952, allocations: 127.7 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.003048, allocations: 35.91 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.528e-05/0.003113, allocations: 59.89 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.003186, allocations: 27.95 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003205, allocations: 8 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.929e-05/0.003254, allocations: 19.98 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.003274, allocations: 15.94 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.003319, allocations: 35.89 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.003474, allocations: 127.7 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003476, allocations: 0 / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003476, allocations: 4 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.00348, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 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.0003671/0.003847, allocations: 334.2 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003879, allocations: 8.75 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.003919, allocations: 8.891 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.004085, allocations: 149.6 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.004098, allocations: 16.3 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.004113, allocations: 8.375 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.004205, allocations: 68.81 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004212, allocations: 192 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.004221, allocations: 384 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004226, allocations: 4.375 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.901e-05/0.004255, allocations: 19.88 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.004551, allocations: 412.8 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.916e-05/0.00459, allocations: 26.52 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.004609, allocations: 16.91 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.004616, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.549e-05/0.004692, allocations: 55.36 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.004692, allocations: 4 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.004839, allocations: 65.61 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.004869, allocations: 55.41 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.005076, allocations: 136.9 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.005091, allocations: 25.7 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.005139, allocations: 112 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.005147, allocations: 7.891 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.005191, allocations: 37.7 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.005259, allocations: 314.8 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.005321, allocations: 61.67 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.005377, allocations: 76.27 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.005446, allocations: 84.2 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.005449, allocations: 3.938 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001674/0.005616, allocations: 177 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.005641, allocations: 33.7 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005647, allocations: 8.094 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.005657, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-05/0.005671, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.005678, allocations: 7.984 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.005804, allocations: 27.92 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.005816, allocations: 4 kB / 1.006 GB, free: 7.891 MB / 0.9636 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.03e-05/0.005877, allocations: 125.7 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.005884, allocations: 7.953 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.005904, allocations: 16.33 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.005906, allocations: 4.234 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.005909, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.005913, allocations: 3.984 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.417e-05/0.005977, allocations: 117.3 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.005979, allocations: 3.938 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-06/0.005984, allocations: 3.984 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005985, allocations: 0 / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.005992, allocations: 4.062 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005993, allocations: 3.984 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005994, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.524e-05/0.006059, allocations: 77.12 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.006069, allocations: 15.89 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.006078, allocations: 3.938 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.006088, allocations: 7.984 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.006109, allocations: 0 / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.006113, allocations: 0 / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.006152, allocations: 99.27 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006152, allocations: 0 / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001422/0.006295, allocations: 27.89 kB / 1.006 GB, free: 7.312 MB / 0.9636 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 9.599e-05/0.006391, allocations: 99.23 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.006544, allocations: 141.1 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006546, allocations: 0 / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.006565, allocations: 11.92 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.006711, allocations: 19.88 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.006956, allocations: 181.8 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.006996, allocations: 71.33 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.007012, allocations: 16.69 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.007013, allocations: 0 / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of Templates: time 0.001757/0.00877, allocations: 1.113 MB / 1.008 GB, free: 5.598 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.273138847202063]