Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 497.2 MB / 0.7845 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 66.27 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002197/0.3204, allocations: 0.9291 MB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.322, allocations: 1.186 MB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.322, allocations: 0 / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3222, allocations: 27.73 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.3222, allocations: 19.86 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.3227, allocations: 154.5 kB / 1.312 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.323, allocations: 171.6 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3231, allocations: 33.31 kB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.3232, allocations: 55.84 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3233, allocations: 59.69 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.3233, allocations: 16 kB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.3234, allocations: 27.98 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.3234, allocations: 15.92 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.588e-05/0.3235, allocations: 59.73 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.3238, allocations: 167.4 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3238, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3238, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3238, allocations: 3.938 kB / 1.312 GB, free: 13.05 MB / 1.014 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.0006307/0.3244, allocations: 440.6 kB / 1.313 GB, free: 12.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3244, allocations: 12.03 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.3245, allocations: 16.84 kB / 1.313 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3248, allocations: 216.2 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3248, allocations: 8.375 kB / 1.313 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3249, allocations: 12.36 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.325, allocations: 88.7 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.325, allocations: 192 / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.325, allocations: 15.86 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.325, allocations: 0 / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.3251, allocations: 24 kB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.3257, allocations: 0.5283 MB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.3257, allocations: 34.52 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.3258, allocations: 12.92 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.3258, allocations: 0 / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.3259, allocations: 59.39 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3259, allocations: 4 kB / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002149/0.3261, allocations: 81.56 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3261, allocations: 55.41 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3263, allocations: 176.9 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3263, allocations: 29.7 kB / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3264, allocations: 108 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.3264, allocations: 15.94 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.3265, allocations: 29.7 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3267, allocations: 318.8 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.3268, allocations: 43.97 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.3269, allocations: 54.56 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.327, allocations: 92.2 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.327, allocations: 0 / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002925/0.3273, allocations: 175.3 kB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.3273, allocations: 38.8 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3273, allocations: 8.062 kB / 1.315 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.3274, allocations: 3.984 kB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.3274, allocations: 4 kB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3274, allocations: 0 / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3276, allocations: 31.84 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3277, allocations: 4 kB / 1.315 GB, free: 10.06 MB / 1.014 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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 0.0001184/0.3278, allocations: 121.8 kB / 1.315 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3278, allocations: 19.89 kB / 1.315 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3278, allocations: 12.94 kB / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3279, allocations: 240 / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3279, allocations: 0 / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3279, allocations: 3.938 kB / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3281, allocations: 193.6 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3281, allocations: 3.938 kB / 1.315 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.3281, allocations: 4 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3281, allocations: 0 / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3281, allocations: 3.938 kB / 1.315 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3281, allocations: 0 / 1.315 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3281, allocations: 8 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.3283, allocations: 97 kB / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.3284, allocations: 81.06 kB / 1.315 GB, free: 9.426 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3284, allocations: 4 kB / 1.315 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.3284, allocations: 0 / 1.315 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3284, allocations: 7.922 kB / 1.315 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3285, allocations: 8 kB / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3286, allocations: 124 kB / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3286, allocations: 0 / 1.315 GB, free: 9.285 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002318/0.3288, allocations: 27.89 kB / 1.315 GB, free: 9.258 MB / 1.014 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.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.0002134/0.329, allocations: 111.2 kB / 1.316 GB, free: 9.141 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3293, allocations: 119.4 kB / 1.316 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3293, allocations: 0 / 1.316 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.3293, allocations: 15.94 kB / 1.316 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3296, allocations: 22.55 kB / 1.316 GB, free: 8.977 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.3301, allocations: 194.4 kB / 1.316 GB, free: 8.762 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3305, allocations: 0.704 MB / 1.317 GB, free: 8.031 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.3305, allocations: 12.41 kB / 1.317 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.3306, allocations: 15.44 kB / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3306, allocations: 0 / 1.317 GB, free: 8.004 MB / 1.014 GB Notification: Performance of Templates: time 0.005001/0.3356, allocations: 1.473 MB / 1.318 GB, free: 6.551 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.056700441055]