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.00156/0.00156, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001795/0.001795, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.716/2.716, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.002052/0.002052, allocations: 63.62 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 170 MB / 1.285 GB, free: 11.22 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.002359/0.3127, allocations: 0.9404 MB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3144, allocations: 1.207 MB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.3145, allocations: 4 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.3146, allocations: 27.72 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.3147, allocations: 23.86 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.3152, allocations: 148.1 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3155, allocations: 167.6 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3156, allocations: 29.52 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.3157, allocations: 63.77 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3158, allocations: 51.77 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3158, allocations: 16 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.3159, allocations: 27.98 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.3159, allocations: 23.91 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.316, allocations: 51.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3163, allocations: 175.3 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3163, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3163, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3163, allocations: 0 / 1.287 GB, free: 8.27 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.0005827/0.3169, allocations: 367.5 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3169, allocations: 12.03 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.317, allocations: 12.84 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3173, allocations: 166.3 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3173, allocations: 4.375 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3173, allocations: 16.36 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3175, allocations: 80.7 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3175, allocations: 4.188 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3175, allocations: 7.922 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.3175, allocations: 3.984 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.3176, allocations: 24 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.3182, allocations: 0.5079 MB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.3183, allocations: 34.5 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.3183, allocations: 16.92 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3183, allocations: 0 / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.3184, allocations: 59.39 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3184, allocations: 3.938 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.3186, allocations: 85.52 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3187, allocations: 51.41 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3189, allocations: 179.9 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.3189, allocations: 25.7 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.319, allocations: 116 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.319, allocations: 3.953 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.3191, allocations: 33.7 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3192, allocations: 322.8 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3193, allocations: 35.98 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/0.3194, allocations: 54.56 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3196, allocations: 96.2 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3196, allocations: 0 / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003/0.3199, allocations: 167.2 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.3199, allocations: 43.88 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3199, allocations: 0 / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3199, allocations: 4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.32, allocations: 0 / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.32, allocations: 64 / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3202, allocations: 35.91 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3202, allocations: 11.98 kB / 1.29 GB, free: 5.477 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.0001061/0.3203, allocations: 117.8 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.3203, allocations: 15.84 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3204, allocations: 13.03 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3204, allocations: 3.984 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3204, allocations: 0 / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3204, allocations: 7.938 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3205, allocations: 156.7 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3205, allocations: 3.984 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.3206, allocations: 8 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3206, allocations: 64 / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3206, allocations: 4 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3206, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3206, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.3207, allocations: 93.02 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3207, allocations: 19.89 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3208, allocations: 0 / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.3208, allocations: 7.938 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.3208, allocations: 3.938 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.3208, allocations: 8.156 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001093/0.3209, allocations: 131.9 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3209, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002234/0.3211, allocations: 23.94 kB / 1.291 GB, free: 4.797 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.0001686/0.3213, allocations: 99.25 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3216, allocations: 127.4 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3216, allocations: 0 / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.3216, allocations: 19.92 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3219, allocations: 23.98 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3223, allocations: 212.3 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3226, allocations: 0.704 MB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.3227, allocations: 15.44 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3227, allocations: 0 / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003415/0.3261, allocations: 1.452 MB / 1.293 GB, free: 2.078 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.747256720002042]