Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001857/0.001857, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002613/0.002613, allocations: 213.8 kB / 22.99 MB, free: 4.941 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 64.98 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.314, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.002765/0.3168, allocations: 0.8912 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3189, allocations: 1.196 MB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.319, allocations: 0 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.3192, allocations: 23.8 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.438e-05/0.3192, allocations: 27.78 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.3198, allocations: 141.2 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.3203, allocations: 167.6 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.3205, allocations: 33.5 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.3206, allocations: 55.86 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3208, allocations: 51.69 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.3208, allocations: 16 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.3209, allocations: 24 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.321, allocations: 19.91 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3211, allocations: 51.8 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.3215, allocations: 171.4 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3215, allocations: 0 / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3215, allocations: 0 / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3215, allocations: 0 / 1.287 GB, free: 9.074 MB / 0.9825 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.001001/0.3225, allocations: 363.5 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3226, allocations: 12.03 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.3226, allocations: 20.78 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.323, allocations: 166.3 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.323, allocations: 4.375 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3231, allocations: 4.375 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3233, allocations: 92.69 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3233, allocations: 4.125 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3233, allocations: 7.938 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3233, allocations: 3.984 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.3234, allocations: 27.98 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.324, allocations: 456.8 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.388e-05/0.3241, allocations: 30.56 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.3242, allocations: 12.86 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3242, allocations: 0 / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.3243, allocations: 67.39 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3243, allocations: 0 / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.3246, allocations: 81.58 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3246, allocations: 55.34 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3248, allocations: 152.5 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3248, allocations: 33.7 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.3249, allocations: 112 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.3249, allocations: 7.938 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.325, allocations: 29.7 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3252, allocations: 326.8 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3253, allocations: 69.69 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3254, allocations: 88.25 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3256, allocations: 92.2 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3256, allocations: 4 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003317/0.3259, allocations: 204.9 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.326, allocations: 37.7 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.326, allocations: 0 / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.326, allocations: 3.984 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.326, allocations: 4 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.326, allocations: 0 / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3263, allocations: 31.86 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3263, allocations: 12 kB / 1.289 GB, free: 6.25 MB / 0.9825 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.0001234/0.3264, allocations: 117.8 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3264, allocations: 11.94 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.3265, allocations: 12.34 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3265, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3265, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3265, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3266, allocations: 133.2 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3266, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.3266, allocations: 11.88 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.3266, allocations: 7.984 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3266, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3266, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3266, allocations: 0 / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3268, allocations: 97.08 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3268, allocations: 7.953 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3268, allocations: 7.984 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.3268, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.3269, allocations: 4 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3269, allocations: 4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001029/0.327, allocations: 115.5 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.327, allocations: 4 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002238/0.3272, allocations: 27.89 kB / 1.29 GB, free: 5.641 MB / 0.9825 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.0001606/0.3274, allocations: 111.4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.3277, allocations: 153.1 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3277, allocations: 0 / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.3277, allocations: 23.92 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.3279, allocations: 16.12 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3284, allocations: 216.2 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.3285, allocations: 80.2 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3285, allocations: 15.42 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3285, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of Templates: time 0.003747/0.3323, allocations: 1.437 MB / 1.292 GB, free: 3.531 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.823070529848337]