Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001808/0.001808, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002097/0.002097, allocations: 203.3 kB / 22.17 MB, free: 5.211 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 64.12 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9419, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.002158/0.9441, allocations: 0.7469 MB / 1.275 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.9456, allocations: 1.152 MB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.9456, allocations: 4 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.9458, allocations: 27.78 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.9458, allocations: 3.938 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.9463, allocations: 142.8 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.9465, allocations: 135.7 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.9466, allocations: 15.98 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.9467, allocations: 39.91 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9468, allocations: 47.81 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.9468, allocations: 8 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.9469, allocations: 27.94 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.9469, allocations: 15.92 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.947, allocations: 43.78 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.9471, allocations: 110.3 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9471, allocations: 0 / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.32e-07/0.9472, allocations: 0 / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9472, allocations: 4 kB / 1.276 GB, free: 2.039 MB / 0.9669 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.0005366/0.9477, allocations: 408.8 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.9477, allocations: 12.03 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.9478, allocations: 16.84 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.948, allocations: 200.3 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.9481, allocations: 8.375 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.9481, allocations: 4.375 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.9482, allocations: 72.77 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9482, allocations: 8.109 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.9482, allocations: 7.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9482, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.9483, allocations: 23.94 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.9488, allocations: 485 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.9488, allocations: 30.45 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.9489, allocations: 16.91 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.9489, allocations: 0 / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.949, allocations: 59.34 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.949, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002057/0.9492, allocations: 73.56 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.9492, allocations: 55.41 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.9494, allocations: 149.7 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.9494, allocations: 29.7 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.9495, allocations: 100.1 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.9495, allocations: 7.953 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.9495, allocations: 29.7 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9497, allocations: 318.8 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.9498, allocations: 27.98 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.9498, allocations: 42.56 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.95, allocations: 92.27 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.95, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002641/0.9502, allocations: 155.2 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.9503, allocations: 35.11 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9503, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9503, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.093e-05/0.9503, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9503, allocations: 12.02 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.9505, allocations: 31.86 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.9506, allocations: 11.98 kB / 1.279 GB, free: 15.28 MB / 0.9825 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 0.0001065/0.9507, allocations: 121.8 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.9507, allocations: 8.188 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.9507, allocations: 8.234 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.9507, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.9507, allocations: 15.92 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9507, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.9509, allocations: 165.7 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9509, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-06/0.9509, allocations: 8 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9509, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.9509, allocations: 3.938 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.9509, allocations: 3.984 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.9509, allocations: 7.875 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.951, allocations: 85.08 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.9511, allocations: 85.06 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.9511, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.9511, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.9511, allocations: 11.86 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.9512, allocations: 4 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.9512, allocations: 109.5 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9512, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002223/0.9515, allocations: 19.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 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.000171/0.9516, allocations: 107.8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.9519, allocations: 103.4 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9519, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.9519, allocations: 11.94 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.9521, allocations: 11.98 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.9525, allocations: 178.7 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.9529, allocations: 0.6924 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.9529, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.9529, allocations: 11.44 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9529, allocations: 0 / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.004181/0.9571, allocations: 1.165 MB / 1.282 GB, free: 12.2 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.991538887377828]