Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001211/0.001211, allocations: 88.22 kB / 19.65 MB, free: 272 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.001278/0.001278, allocations: 177 kB / 23.02 MB, free: 1.539 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.9045/0.9045, 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.213/2.213, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.514e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001762/0.001787, allocations: 0.8694 MB / 0.879 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003275, allocations: 1.219 MB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.003389, allocations: 8.594 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.003576, allocations: 18.05 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.003637, allocations: 27.73 kB / 0.8803 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.004155, allocations: 141.1 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.004585, allocations: 171.6 kB / 0.8805 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.004737, allocations: 26.61 kB / 0.8806 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004849, allocations: 87.8 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.00496, allocations: 35.89 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.00499, allocations: 17.12 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.005067, allocations: 31.97 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.005097, allocations: 11.94 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.005166, allocations: 48.95 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005379, allocations: 119.6 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005382, allocations: 0 / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005382, allocations: 1.094 kB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.005388, allocations: 0 / 0.8809 GB, free: 3.531 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006109/0.005999, allocations: 461.9 kB / 0.8814 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.006046, allocations: 16.84 kB / 0.8814 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.006111, allocations: 12.89 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.006353, allocations: 162.1 kB / 0.8815 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.006378, allocations: 8.375 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.006397, allocations: 8.875 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.006557, allocations: 97.94 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.006568, allocations: 2.031 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.006581, allocations: 384 / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.006593, allocations: 8.359 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.006645, allocations: 23.86 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.007145, allocations: 0.5924 MB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.117e-05/0.007216, allocations: 35 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.007238, allocations: 19.67 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.007249, allocations: 5.156 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.007345, allocations: 65 kB / 0.8824 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.007347, allocations: 0.6562 kB / 0.8824 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002132/0.00756, allocations: 69.58 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.0076, allocations: 57 kB / 0.8825 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007738, allocations: 211.6 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.00776, allocations: 33.7 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.007836, allocations: 154.7 kB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.007848, allocations: 14.66 kB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.007904, allocations: 35.36 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.008039, allocations: 0.4961 MB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.008113, allocations: 61.69 kB / 0.8835 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.008188, allocations: 84.73 kB / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.008274, allocations: 88.69 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.008277, allocations: 1.812 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002027/0.00848, allocations: 185 kB / 0.8838 GB, free: 284 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.008512, allocations: 37.69 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008517, allocations: 0.6875 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.008534, allocations: 0 / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.008596, allocations: 4.656 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008602, allocations: 0 / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.008708, allocations: 20.86 kB / 0.8839 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.008725, allocations: 16.05 kB / 0.8839 GB, free: 200 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: 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 8.426e-05/0.008809, allocations: 164.5 kB / 0.884 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.008822, allocations: 11.95 kB / 0.8841 GB, free: 12 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.008864, allocations: 8.391 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008866, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.008871, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008875, allocations: 3.938 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.008979, allocations: 156.4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008981, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.00899, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008994, allocations: 8 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.009001, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009003, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009004, allocations: 0 / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.009106, allocations: 108.2 kB / 0.8843 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.009118, allocations: 8.016 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.00913, allocations: 4 kB / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.009143, allocations: 0 / 0.8843 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.009174, allocations: 3.984 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.00918, allocations: 4.281 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.009242, allocations: 153.6 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009242, allocations: 4 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001495/0.009392, allocations: 23.94 kB / 0.8845 GB, free: 15.47 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: 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.000127/0.009519, allocations: 99.25 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.009718, allocations: 152.7 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00972, allocations: 0 / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.009748, allocations: 19.69 kB / 0.8848 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.009952, allocations: 24.05 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.01028, allocations: 189.9 kB / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01032, allocations: 59.34 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.01035, allocations: 8.734 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.01037, allocations: 8.5 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.01037, allocations: 4 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.003983/0.01435, allocations: 1.657 MB / 0.8867 GB, free: 13.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.595264324918389]