Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0008258/0.0008258, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001927, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006926/0.0006926, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009472/0.00164, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.05/1.05, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1257/1.175, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.414/2.414, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2411/2.655, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.147e-05, allocations: 4.703 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001515/0.001537, allocations: 0.8088 MB / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002727, allocations: 1.201 MB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.00278, allocations: 7.938 kB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.786e-05/0.002858, allocations: 19.8 kB / 0.8209 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.002886, allocations: 11.86 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.003148, allocations: 127.6 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.003297, allocations: 127.7 kB / 0.8212 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.003379, allocations: 19.98 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.00347, allocations: 71.88 kB / 0.8213 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.003552, allocations: 35.89 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.003572, allocations: 8 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.756e-05/0.00364, allocations: 23.97 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.003661, allocations: 11.94 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.003695, allocations: 20 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.003837, allocations: 75.75 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.003847, allocations: 0 / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003848, allocations: 0 / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.003857, allocations: 3.938 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003328/0.00419, allocations: 322 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.004217, allocations: 16.03 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.00425, allocations: 8.922 kB / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.004402, allocations: 149.6 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.004411, allocations: 4.375 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004426, allocations: 8.375 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.443e-05/0.004501, allocations: 64.75 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004507, allocations: 8.172 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.004513, allocations: 384 / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.004517, allocations: 384 / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.004531, allocations: 19.88 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.004746, allocations: 340.6 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.163e-05/0.004778, allocations: 22.52 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-06/0.004784, allocations: 4.859 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-06/0.004787, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.004856, allocations: 59.39 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004857, allocations: 0 / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.196e-05/0.004949, allocations: 49.81 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.004976, allocations: 55.39 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.005042, allocations: 145.4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.005058, allocations: 25.7 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.005094, allocations: 96.08 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.005104, allocations: 11.92 kB / 0.8228 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.005143, allocations: 29.69 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.005212, allocations: 318.8 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.005262, allocations: 53.69 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.005303, allocations: 68.25 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.005362, allocations: 80.22 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005365, allocations: 4 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001141/0.005479, allocations: 152.9 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.005517, allocations: 33.7 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00552, allocations: 0 / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005531, allocations: 0 / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.718e-05/0.005548, allocations: 7.984 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005551, allocations: 3.938 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.005663, allocations: 19.94 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.005678, allocations: 12.06 kB / 0.8235 GB, free: 13.55 MB / 0.8073 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.457e-05/0.005743, allocations: 121.9 kB / 0.8236 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.005751, allocations: 7.938 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.005771, allocations: 8.344 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005773, allocations: 4 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005774, allocations: 0 / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.005777, allocations: 0 / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.517e-05/0.005842, allocations: 73.88 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005843, allocations: 0 / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-06/0.00585, allocations: 3.984 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.005859, allocations: 7.953 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.005864, allocations: 7.938 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.00587, allocations: 0 / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005872, allocations: 0 / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.005874, allocations: 7.984 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.00594, allocations: 69.05 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-06/0.005948, allocations: 7.922 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.00596, allocations: 0 / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.005978, allocations: 4 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.00598, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.153e-05/0.006002, allocations: 24.84 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006002, allocations: 0 / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001121/0.006114, allocations: 20 kB / 0.8239 GB, free: 13.14 MB / 0.8073 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.000128/0.006242, allocations: 88.34 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.006369, allocations: 129.9 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.006374, allocations: 7.984 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.00639, allocations: 12.86 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.006523, allocations: 67.39 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.006993, allocations: 157.3 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.007028, allocations: 68.61 kB / 0.8244 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.816e-05/0.007047, allocations: 0 / 0.8244 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.007122, allocations: 71.36 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of SimCode: time 5.16e-06/0.007128, allocations: 0 / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.00288/0.01001, allocations: 1.314 MB / 0.8257 GB, free: 11.17 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.122310827486217]