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.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.0016/0.0016, allocations: 79.2 kB / 19.18 MB, free: 2.52 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.001816/0.001816, allocations: 168.4 kB / 22.46 MB, free: 5.379 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.902/2.902, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.965e-06/2.965e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.515e-05, allocations: 5.797 kB / 1 GB, free: 7.293 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002229/0.002264, allocations: 0.9017 MB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.004057, allocations: 1.197 MB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.004144, allocations: 4 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.004305, allocations: 23.73 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.004363, allocations: 15.88 kB / 1.002 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.004876, allocations: 147.2 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.005124, allocations: 179.5 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.005242, allocations: 25.58 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.005377, allocations: 83.86 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005482, allocations: 35.89 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.005519, allocations: 19.94 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.005597, allocations: 35.91 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.005625, allocations: 11.94 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.0057, allocations: 43.91 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.005972, allocations: 187.5 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005975, allocations: 0 / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005976, allocations: 0 / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005981, allocations: 4 kB / 1.003 GB, free: 4.379 MB / 0.9512 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.000577/0.006558, allocations: 359.6 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006597, allocations: 8.031 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.006655, allocations: 16.84 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.006946, allocations: 165.6 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.006968, allocations: 12.31 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.006999, allocations: 12.31 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.007197, allocations: 80.81 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007209, allocations: 4.188 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.00722, allocations: 4.375 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.007226, allocations: 384 / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.007294, allocations: 31.86 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.007856, allocations: 452.7 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.007936, allocations: 30.56 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.007964, allocations: 12.92 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.007975, allocations: 0 / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.008086, allocations: 63.39 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.008087, allocations: 0 / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.008326, allocations: 85.58 kB / 1.004 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.008377, allocations: 59.39 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.008553, allocations: 152.9 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.008583, allocations: 29.7 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.008669, allocations: 108.1 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.008685, allocations: 7.938 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.008758, allocations: 33.7 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.008923, allocations: 322.8 kB / 1.005 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.009043, allocations: 69.67 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.009164, allocations: 84.27 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.009304, allocations: 104.3 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009305, allocations: 0 / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003208/0.009626, allocations: 200.9 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.009669, allocations: 37.7 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.009676, allocations: 0 / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.009693, allocations: 0 / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.009754, allocations: 11.92 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.009761, allocations: 3.938 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.009969, allocations: 35.92 kB / 1.005 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.00999, allocations: 8 kB / 1.005 GB, free: 1.57 MB / 0.9512 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.0001128/0.0101, allocations: 122.3 kB / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.01012, allocations: 11.95 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.01015, allocations: 8.328 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01015, allocations: 0 / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.01016, allocations: 4 kB / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01016, allocations: 0 / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.0103, allocations: 129.2 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.0103, allocations: 0 / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.01032, allocations: 8 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01032, allocations: 0 / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01033, allocations: 7.984 kB / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01033, allocations: 0 / 1.006 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01033, allocations: 4 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.01047, allocations: 101.1 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01049, allocations: 7.953 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01051, allocations: 4 kB / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.01053, allocations: 3.984 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.01057, allocations: 0 / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.01057, allocations: 8 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001057/0.01068, allocations: 118.3 kB / 1.006 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01068, allocations: 0 / 1.006 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002286/0.01091, allocations: 23.95 kB / 1.006 GB, free: 0.9609 MB / 0.9512 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.0001803/0.01109, allocations: 103.2 kB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01137, allocations: 157 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01137, allocations: 0 / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.01141, allocations: 16 kB / 1.006 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01167, allocations: 27.91 kB / 1.006 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.01209, allocations: 181.3 kB / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.01217, allocations: 80.33 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.0122, allocations: 8.719 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01223, allocations: 12.5 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.01223, allocations: 3.938 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of Templates: time 0.004841/0.01707, allocations: 1.506 MB / 1.008 GB, free: 14.84 MB / 0.9669 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.299106534570456]