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.001126/0.001126, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009837/0.0009837, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9915/0.9915, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.277/2.277, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.405e-06/2.405e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.317e-05, allocations: 3.469 kB / 0.8794 GB, free: 6.035 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.002657/0.00269, allocations: 0.7637 MB / 0.8801 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.004465, allocations: 1.193 MB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.004552, allocations: 0 / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.004717, allocations: 28.83 kB / 0.8813 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.004758, allocations: 9.797 kB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.005263, allocations: 135.6 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.005482, allocations: 131.7 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.005595, allocations: 18.64 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.00571, allocations: 67.83 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.005816, allocations: 31.94 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.005843, allocations: 8 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.005914, allocations: 20 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.005941, allocations: 7.922 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.005993, allocations: 39.91 kB / 0.8818 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.006186, allocations: 88.48 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.00619, allocations: 0 / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006191, allocations: 1.656 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.006195, allocations: 0 / 0.8818 GB, free: 3.52 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.0004697/0.006665, allocations: 438 kB / 0.8823 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006704, allocations: 8.031 kB / 0.8823 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.006763, allocations: 13.39 kB / 0.8823 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006977, allocations: 164.1 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.006991, allocations: 4.375 kB / 0.8824 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.007011, allocations: 9.969 kB / 0.8825 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.007132, allocations: 73.3 kB / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.007141, allocations: 192 / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.00715, allocations: 384 / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.007158, allocations: 384 / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.007188, allocations: 27.84 kB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.007598, allocations: 0.5333 MB / 0.8831 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.007648, allocations: 27.12 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.007661, allocations: 7.688 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-06/0.007666, allocations: 3.938 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.94e-05/0.007765, allocations: 64.98 kB / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.007767, allocations: 0 / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001726/0.007939, allocations: 61.62 kB / 0.8832 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.007979, allocations: 51.41 kB / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.008107, allocations: 193.9 kB / 0.8835 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.008128, allocations: 33.64 kB / 0.8835 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.008203, allocations: 150.8 kB / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.008213, allocations: 3.953 kB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.008281, allocations: 39.34 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.008427, allocations: 0.4884 MB / 0.8842 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.008497, allocations: 53.61 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.00857, allocations: 76.75 kB / 0.8843 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.008658, allocations: 76.75 kB / 0.8844 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.008661, allocations: 4 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002435/0.008904, allocations: 180.8 kB / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.008941, allocations: 29.7 kB / 0.8846 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.008948, allocations: 8.062 kB / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.008964, allocations: 0 / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.008983, allocations: 0 / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.008989, allocations: 7.984 kB / 0.8846 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.009142, allocations: 19.92 kB / 0.8846 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.009161, allocations: 8 kB / 0.8846 GB, free: 420 kB / 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 8.9e-05/0.00925, allocations: 160.7 kB / 0.8848 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.009267, allocations: 15.88 kB / 0.8848 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.009294, allocations: 12.34 kB / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.009296, allocations: 0 / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.009298, allocations: 0 / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009301, allocations: 0 / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.009403, allocations: 113.2 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009404, allocations: 0 / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.009412, allocations: 0 / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.009415, allocations: 4 kB / 0.8849 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.009421, allocations: 7.938 kB / 0.8849 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009423, allocations: 0 / 0.8849 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.009426, allocations: 4.172 kB / 0.8849 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.009554, allocations: 96.36 kB / 0.885 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.009567, allocations: 3.953 kB / 0.885 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.00958, allocations: 7.938 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.009599, allocations: 0 / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.009621, allocations: 3.984 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.009625, allocations: 0 / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.009684, allocations: 145.9 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.009684, allocations: 0 / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000268/0.009952, allocations: 20 kB / 0.8852 GB, free: 15.77 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.0001458/0.0101, allocations: 107.2 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.01028, allocations: 136.7 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01028, allocations: 0 / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.0103, allocations: 15.69 kB / 0.8854 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01053, allocations: 17.23 kB / 0.8854 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.01087, allocations: 166.7 kB / 0.8856 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.01091, allocations: 63.34 kB / 0.8857 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.01094, allocations: 4 kB / 0.8857 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.01104, allocations: 86.19 kB / 0.8857 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.01104, allocations: 0 / 0.8857 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.004799/0.01584, allocations: 1.345 MB / 0.8871 GB, free: 13.79 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.653005201835185]