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.001587/0.001587, 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.001051/0.001051, allocations: 173 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.9471/0.9471, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.286/2.286, allocations: 429.5 MB / 0.6733 GB, free: 3.984 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 4.368e-06/4.368e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/4.07e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 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.005768/0.005809, allocations: 0.7743 MB / 0.8789 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004961/0.01077, allocations: 1.189 MB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.01089, allocations: 8.594 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.01108, allocations: 21.92 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.01114, allocations: 17.2 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.01179, allocations: 131.6 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.01204, allocations: 127.7 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.01218, allocations: 23.98 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.0123, allocations: 59.89 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.01241, allocations: 35.88 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.01245, allocations: 12 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.01253, allocations: 17.66 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.01256, allocations: 7.984 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003109/0.01567, allocations: 35.91 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.01597, allocations: 91.69 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01597, allocations: 0 / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.855e-06/0.01597, allocations: 1 kB / 0.8806 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.01598, allocations: 4 kB / 0.8806 GB, free: 3.762 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.0006838/0.01667, allocations: 431.1 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.01672, allocations: 12.03 kB / 0.8811 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.466e-05/0.01681, allocations: 16.89 kB / 0.8811 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.01707, allocations: 153.5 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.0171, allocations: 13.44 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.01712, allocations: 8.375 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.01727, allocations: 73.3 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01728, allocations: 1.062 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.01729, allocations: 4.375 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.0173, allocations: 384 / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.249e-05/0.01733, allocations: 17.53 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.01786, allocations: 0.5561 MB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.01792, allocations: 30.98 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.01794, allocations: 12.25 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.01794, allocations: 1.844 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.01806, allocations: 65.05 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.963e-06/0.01806, allocations: 0 / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.01829, allocations: 61.58 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.01833, allocations: 55.41 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.02151, allocations: 190.3 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.02154, allocations: 29.7 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.02164, allocations: 150.8 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.02165, allocations: 7.953 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.02173, allocations: 35.86 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.02189, allocations: 0.4894 MB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.94e-05/0.02199, allocations: 53.69 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.02208, allocations: 84.73 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.0222, allocations: 94.5 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.0222, allocations: 3.938 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002995/0.0225, allocations: 175.5 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.02255, allocations: 41.69 kB / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.02256, allocations: 64 / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.02258, allocations: 4 kB / 0.8834 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.0226, allocations: 0 / 0.8834 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.02261, allocations: 7.938 kB / 0.8834 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02279, allocations: 21.89 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.02281, allocations: 7.984 kB / 0.8834 GB, free: 0.6094 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.0001044/0.02291, allocations: 160.5 kB / 0.8836 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.02294, allocations: 11.95 kB / 0.8836 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.02297, allocations: 9.062 kB / 0.8836 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02297, allocations: 96 / 0.8836 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.02298, allocations: 4 kB / 0.8836 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.02298, allocations: 3.984 kB / 0.8836 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.02311, allocations: 132.6 kB / 0.8838 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02311, allocations: 3.938 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.02312, allocations: 0 / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02312, allocations: 0 / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.02313, allocations: 3.938 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02313, allocations: 0 / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.02314, allocations: 7.984 kB / 0.8838 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.02328, allocations: 92.33 kB / 0.8839 GB, free: 120 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.0233, allocations: 7.891 kB / 0.8839 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.02332, allocations: 4 kB / 0.8839 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.02333, allocations: 8 kB / 0.8839 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.02337, allocations: 3.984 kB / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.02337, allocations: 0 / 0.8839 GB, free: 96 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.325e-05/0.02347, allocations: 139.2 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02347, allocations: 0 / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000255/0.02372, allocations: 16 kB / 0.884 GB, free: 15.94 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.0001998/0.02392, allocations: 107.2 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.02417, allocations: 144.8 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02417, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.0242, allocations: 19.67 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006254/0.03046, allocations: 14 kB / 0.8843 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.0308, allocations: 158.6 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.03083, allocations: 59.34 kB / 0.8845 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.03085, allocations: 4 kB / 0.8845 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.03087, allocations: 12.5 kB / 0.8845 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.03088, allocations: 128 / 0.8845 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.01021/0.04109, allocations: 1.309 MB / 0.8858 GB, free: 14.07 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.843852809630334]