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.001334/0.001334, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001579/0.001579, allocations: 161.5 kB / 23.01 MB, free: 4.598 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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 2.835/2.835, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.002594/0.002594, allocations: 72.17 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.089, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 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.002132/1.091, allocations: 0.888 MB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001351/1.093, allocations: 1.186 MB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/1.093, allocations: 6.719 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/1.093, allocations: 30.14 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/1.093, allocations: 17.56 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/1.093, allocations: 140.6 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/1.093, allocations: 168.4 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/1.094, allocations: 29.55 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/1.094, allocations: 54.56 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/1.094, allocations: 57.73 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/1.094, allocations: 18.62 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/1.094, allocations: 23.45 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/1.094, allocations: 16.91 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/1.094, allocations: 47.75 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/1.094, allocations: 172.2 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.094, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/1.094, allocations: 0 / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.094, allocations: 3.938 kB / 1.157 GB, free: 31.51 MB / 1.076 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.0004946/1.095, allocations: 360.1 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/1.095, allocations: 11.44 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/1.095, allocations: 18.47 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/1.095, allocations: 166.7 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.095, allocations: 10.27 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/1.095, allocations: 10.19 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/1.095, allocations: 83.27 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.095, allocations: 192 / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.095, allocations: 3.938 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.095, allocations: 2.969 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/1.095, allocations: 22.66 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/1.096, allocations: 459.6 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/1.096, allocations: 35.55 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/1.096, allocations: 18.58 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/1.096, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.444e-05/1.096, allocations: 64.09 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/1.096, allocations: 0 / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001995/1.096, allocations: 82.44 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/1.096, allocations: 54.78 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.096, allocations: 158.8 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.096, allocations: 32.77 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/1.096, allocations: 105.2 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/1.096, allocations: 10.94 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/1.096, allocations: 32.31 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/1.096, allocations: 325.1 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/1.097, allocations: 68.73 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/1.097, allocations: 86.98 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.097, allocations: 97.2 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.097, allocations: 0 / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002372/1.097, allocations: 209.7 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.097, allocations: 35.48 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.097, allocations: 0 / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.097, allocations: 2.938 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.164e-05/1.097, allocations: 2.812 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/1.097, allocations: 3.375 kB / 1.159 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/1.097, allocations: 27.47 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.097, allocations: 6.688 kB / 1.159 GB, free: 29.27 MB / 1.076 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 7.359e-05/1.097, allocations: 130.1 kB / 1.159 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/1.097, allocations: 7.016 kB / 1.159 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/1.097, allocations: 7.5 kB / 1.159 GB, free: 29.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.097, allocations: 0 / 1.159 GB, free: 29.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.097, allocations: 6.969 kB / 1.159 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.097, allocations: 3.422 kB / 1.159 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.908e-05/1.097, allocations: 129.9 kB / 1.159 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.097, allocations: 3.938 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/1.097, allocations: 2.719 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/1.097, allocations: 0 / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/1.097, allocations: 3.422 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.097, allocations: 6.906 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.097, allocations: 3.938 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/1.098, allocations: 97.92 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/1.098, allocations: 17.95 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/1.098, allocations: 4 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/1.098, allocations: 0 / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/1.098, allocations: 5.984 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.098, allocations: 0 / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.623e-05/1.098, allocations: 114.1 kB / 1.16 GB, free: 28.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.098, allocations: 2.75 kB / 1.16 GB, free: 28.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002085/1.098, allocations: 21.19 kB / 1.16 GB, free: 28.79 MB / 1.076 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.0001113/1.098, allocations: 108.9 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.098, allocations: 152.4 kB / 1.16 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.098, allocations: 0 / 1.16 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/1.098, allocations: 16.34 kB / 1.16 GB, free: 28.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/1.099, allocations: 23.66 kB / 1.16 GB, free: 28.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/1.099, allocations: 190.7 kB / 1.16 GB, free: 28.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/1.099, allocations: 87.02 kB / 1.16 GB, free: 28.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.576e-05/1.099, allocations: 7 kB / 1.16 GB, free: 28.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/1.099, allocations: 11.34 kB / 1.16 GB, free: 28.31 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.099, allocations: 0 / 1.16 GB, free: 28.31 MB / 1.076 GB Notification: Performance of Templates: time 0.004145/1.103, allocations: 1.509 MB / 1.162 GB, free: 28.12 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.288683620048687]