Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00137/0.00137, allocations: 210.4 kB / 23 MB, free: 4.934 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.108/3.108, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_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.002036/0.002036, allocations: 64.69 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.00222/0.3127, allocations: 0.8936 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3143, allocations: 1.19 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.3144, allocations: 8 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.3145, allocations: 23.73 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.3145, allocations: 19.86 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.315, allocations: 147.5 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.3152, allocations: 167.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3153, allocations: 33.52 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.3154, allocations: 67.72 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3155, allocations: 51.81 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3156, allocations: 16 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.455e-05/0.3156, allocations: 27.98 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.3157, allocations: 15.94 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.3157, allocations: 47.78 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.316, allocations: 175.3 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.316, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.22e-07/0.316, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.316, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 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.0005497/0.3165, allocations: 364.5 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3165, allocations: 12.03 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.3166, allocations: 16.84 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3169, allocations: 171.9 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3169, allocations: 8.375 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3169, allocations: 8.375 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3171, allocations: 84.75 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3171, allocations: 192 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3171, allocations: 7.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3171, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.3172, allocations: 27.98 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.3177, allocations: 452.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.3177, allocations: 30.52 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.3178, allocations: 12.92 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.3178, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.3179, allocations: 63.38 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3179, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.3181, allocations: 93.52 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3181, allocations: 51.41 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3183, allocations: 152.9 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.3183, allocations: 25.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3184, allocations: 120 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.3184, allocations: 7.891 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.3185, allocations: 33.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3186, allocations: 326.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3187, allocations: 65.69 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3189, allocations: 92.25 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.319, allocations: 92.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.319, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003156/0.3193, allocations: 200.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.3193, allocations: 41.69 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3193, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3194, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.3194, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3194, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.3196, allocations: 23.97 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3196, allocations: 8 kB / 1.332 GB, free: 11.34 MB / 1.029 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.0001057/0.3197, allocations: 126.3 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.3198, allocations: 11.95 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.3198, allocations: 8.344 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3198, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3198, allocations: 4.062 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.3198, allocations: 11.83 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3198, allocations: 11.92 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.3199, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3199, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001328/0.32, allocations: 137 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001831/0.3202, allocations: 238.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.099e-05/0.3202, allocations: 23.86 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.3203, allocations: 107.3 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Backend: time 1.81e-07/0.3203, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.3208, allocations: 227.4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006269/0.3215, allocations: 0.6346 MB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of Templates: time 0.004552/0.326, allocations: 1.669 MB / 1.335 GB, free: 8.062 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.419014454004355]