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.0009776/0.0009776, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001036/0.001036, allocations: 169 kB / 23.02 MB, free: 1.547 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.9709/0.9709, allocations: 177.1 MB / 203.4 MB, free: 5.652 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 2.115/2.115, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.966e-06/2.966e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.281e-05, allocations: 4.625 kB / 0.8781 GB, free: 6.348 MB / 0.8386 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.002344/0.002377, allocations: 0.7758 MB / 0.8789 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.00405, allocations: 1.191 MB / 0.8801 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.004137, allocations: 7.938 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.004293, allocations: 18.7 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.004332, allocations: 11.88 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.004881, allocations: 133.1 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.005089, allocations: 131.7 kB / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.005211, allocations: 19.98 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.005311, allocations: 68.91 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.005411, allocations: 27.89 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.005438, allocations: 8 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.005508, allocations: 25.11 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.005534, allocations: 11.92 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.005592, allocations: 27.98 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.005795, allocations: 96.75 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005799, allocations: 0 / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005801, allocations: 1.094 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005806, allocations: 0 / 0.8806 GB, free: 3.82 MB / 0.8386 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.0005271/0.006333, allocations: 442 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.00639, allocations: 8.906 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.006478, allocations: 12.89 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.006773, allocations: 158.1 kB / 0.8812 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.006793, allocations: 8.312 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.006818, allocations: 4.375 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006974, allocations: 77.8 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.006989, allocations: 2.031 kB / 0.8813 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.007008, allocations: 8.359 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.007019, allocations: 384 / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.007059, allocations: 19.86 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.007579, allocations: 0.5483 MB / 0.8819 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.007642, allocations: 32.22 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.007658, allocations: 7.75 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.007664, allocations: 4 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.007801, allocations: 66.12 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.007802, allocations: 0 / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002271/0.00803, allocations: 66.23 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.00807, allocations: 51.41 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008221, allocations: 198.7 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.008248, allocations: 29.7 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.00833, allocations: 142.8 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.008342, allocations: 3.953 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.008418, allocations: 50.06 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.00857, allocations: 492.1 kB / 0.883 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.008668, allocations: 57.67 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.008762, allocations: 84.75 kB / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.00887, allocations: 84.69 kB / 0.8832 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.008874, allocations: 3.938 kB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002754/0.009149, allocations: 174.8 kB / 0.8834 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.009198, allocations: 37.7 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.009205, allocations: 0 / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.009227, allocations: 4 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.149e-05/0.009248, allocations: 4.75 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.009257, allocations: 4.594 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.009434, allocations: 28.78 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.009453, allocations: 7.938 kB / 0.8834 GB, free: 0.6641 MB / 0.8386 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.0001045/0.009558, allocations: 168.6 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.009575, allocations: 7.953 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.009613, allocations: 8.328 kB / 0.8836 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009616, allocations: 4 kB / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009621, allocations: 0 / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009624, allocations: 0 / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.00974, allocations: 128.6 kB / 0.8837 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.009743, allocations: 3.938 kB / 0.8837 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.009752, allocations: 7.984 kB / 0.8837 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.009755, allocations: 240 / 0.8837 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.009762, allocations: 0 / 0.8837 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009764, allocations: 4 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.009766, allocations: 0 / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.009901, allocations: 100.3 kB / 0.8838 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.009916, allocations: 11.89 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.009931, allocations: 3.984 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.009951, allocations: 0 / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.009985, allocations: 4 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.009991, allocations: 0 / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.01007, allocations: 139.2 kB / 0.884 GB, free: 12 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01007, allocations: 0 / 0.884 GB, free: 12 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002692/0.01034, allocations: 16.05 kB / 0.884 GB, free: 15.99 MB / 0.8542 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.0001696/0.01051, allocations: 107.1 kB / 0.8841 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01073, allocations: 144.7 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01073, allocations: 4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.01077, allocations: 19.66 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01102, allocations: 9.812 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.0114, allocations: 162.6 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01144, allocations: 67.53 kB / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.01147, allocations: 0 / 0.8845 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.01149, allocations: 12.5 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01149, allocations: 0 / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.004225/0.01572, allocations: 1.211 MB / 0.8857 GB, free: 14.22 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.696731929667294]