Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.000946/0.000946, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009168/0.0009168, allocations: 165 kB / 24.16 MB, free: 332 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.9363/0.9363, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.288e-05, allocations: 2.312 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002322/0.002355, allocations: 0.8622 MB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.004187, allocations: 1.232 MB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.004281, allocations: 8.531 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.004442, allocations: 17.66 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.004507, allocations: 22.33 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.004919, allocations: 144.2 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.005104, allocations: 173.2 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005207, allocations: 34.19 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.0053, allocations: 75.89 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.00539, allocations: 40.81 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.005416, allocations: 19.94 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.005477, allocations: 29.17 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.005511, allocations: 15.92 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.005556, allocations: 39.91 kB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.005718, allocations: 120.5 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005722, allocations: 4 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005723, allocations: 0 / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.005727, allocations: 1.25 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003859/0.006113, allocations: 338.1 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.006144, allocations: 8.031 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.006179, allocations: 14.08 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.006352, allocations: 147.9 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00637, allocations: 4.375 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.00639, allocations: 16.31 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.006496, allocations: 86.47 kB / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.006503, allocations: 192 / 0.7634 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.006512, allocations: 8.359 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006516, allocations: 0.9062 kB / 0.7634 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.006541, allocations: 17.44 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.006827, allocations: 368.4 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.006873, allocations: 18.58 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.006884, allocations: 10.02 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.00689, allocations: 4.062 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.6e-05/0.006966, allocations: 63.39 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.006968, allocations: 5.5 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001047/0.007073, allocations: 53.61 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.007103, allocations: 55.41 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.00719, allocations: 153.7 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.007207, allocations: 26.23 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.007253, allocations: 104.7 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.007265, allocations: 15.89 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.007305, allocations: 30.39 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.007381, allocations: 326.8 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.007435, allocations: 50.5 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.007483, allocations: 72.25 kB / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.007543, allocations: 73.58 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007545, allocations: 4 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001212/0.007667, allocations: 154.8 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.007701, allocations: 40.03 kB / 0.7649 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007706, allocations: 0 / 0.7649 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.007718, allocations: 4.234 kB / 0.7649 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.007764, allocations: 10.44 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.007769, allocations: 4 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.381e-05/0.007863, allocations: 19.98 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.007875, allocations: 7.984 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.491e-05/0.00795, allocations: 117.8 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.007959, allocations: 10.28 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.007986, allocations: 16.33 kB / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.007988, allocations: 0 / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.00799, allocations: 0 / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007993, allocations: 0 / 0.7651 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/0.008065, allocations: 81.81 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008066, allocations: 1.031 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.008077, allocations: 4 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.00808, allocations: 3.938 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.008084, allocations: 4.922 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008085, allocations: 0 / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008086, allocations: 0 / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.008177, allocations: 77.69 kB / 0.7653 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.00819, allocations: 10.69 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.0082, allocations: 7.938 kB / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.008213, allocations: 0 / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.008231, allocations: 0 / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.008234, allocations: 0 / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.008264, allocations: 40.81 kB / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.008264, allocations: 0 / 0.7653 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001229/0.008387, allocations: 16 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001299/0.008517, allocations: 91.38 kB / 0.7654 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.008658, allocations: 145.9 kB / 0.7656 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.008662, allocations: 0 / 0.7656 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.008678, allocations: 12.86 kB / 0.7656 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.008808, allocations: 17.73 kB / 0.7656 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.009105, allocations: 188.1 kB / 0.7658 GB, free: 416 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.009137, allocations: 63.28 kB / 0.7659 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.009159, allocations: 9.656 kB / 0.7659 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.009232, allocations: 67.36 kB / 0.7659 GB, free: 252 kB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.009233, allocations: 0.6562 kB / 0.7659 GB, free: 252 kB / 0.7136 GB Notification: Performance of Templates: time 0.003479/0.01271, allocations: 1.67 MB / 0.7676 GB, free: 14.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.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.116398490034044]