Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001473/0.001473, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001602/0.001602, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.946/2.946, allocations: 389 MB / 0.633 GB, free: 0.9727 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.558e-05/3.838e-05, allocations: 2.281 kB / 1 GB, free: 7.289 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.002604/0.002643, allocations: 0.8398 MB / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004573, allocations: 1.201 MB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.004687, allocations: 7.938 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.004858, allocations: 27.73 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.004925, allocations: 19.84 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.005478, allocations: 145.4 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.005749, allocations: 171.5 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.005891, allocations: 33.56 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.006056, allocations: 71.89 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.006181, allocations: 47.81 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.006222, allocations: 16 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.006306, allocations: 27.98 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.006344, allocations: 19.91 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.00642, allocations: 39.92 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.006748, allocations: 187.5 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.006752, allocations: 0 / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006753, allocations: 0 / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.006759, allocations: 0 / 1.003 GB, free: 4.434 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.0006596/0.007419, allocations: 363.5 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.00746, allocations: 12.03 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.007527, allocations: 16.84 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.007808, allocations: 157.6 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.007829, allocations: 8.375 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.007854, allocations: 8.375 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.008012, allocations: 84.75 kB / 1.004 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.008027, allocations: 8.109 kB / 1.004 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.00804, allocations: 4.375 kB / 1.004 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.008044, allocations: 4.312 kB / 1.004 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.008114, allocations: 31.92 kB / 1.004 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.008695, allocations: 460.7 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.008769, allocations: 22.58 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.008797, allocations: 16.86 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.00881, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.008927, allocations: 63.39 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.008929, allocations: 0 / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.009168, allocations: 77.62 kB / 1.004 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.00922, allocations: 63.34 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.00939, allocations: 157.1 kB / 1.004 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.00942, allocations: 29.7 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.009505, allocations: 108.1 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.009522, allocations: 15.83 kB / 1.005 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.009596, allocations: 33.7 kB / 1.005 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.009769, allocations: 326.8 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.009889, allocations: 69.69 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.01001, allocations: 84.25 kB / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01015, allocations: 96.27 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01015, allocations: 0 / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003364/0.01049, allocations: 208.9 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.01054, allocations: 41.69 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01054, allocations: 0 / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01056, allocations: 0 / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.01062, allocations: 4 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01062, allocations: 0 / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.01083, allocations: 23.97 kB / 1.005 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.01085, allocations: 4 kB / 1.005 GB, free: 1.629 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.0001239/0.01097, allocations: 130.4 kB / 1.006 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.01099, allocations: 7.953 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.01103, allocations: 12.34 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01103, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01103, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01104, allocations: 0 / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01118, allocations: 137.2 kB / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01118, allocations: 0 / 1.006 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.0112, allocations: 7.938 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01121, allocations: 0 / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01122, allocations: 7.938 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01122, allocations: 0 / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01122, allocations: 0 / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.01136, allocations: 97.02 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.01138, allocations: 7.938 kB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.0114, allocations: 4.281 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.01143, allocations: 0 / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.01145, allocations: 0 / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01146, allocations: 7.984 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000106/0.01157, allocations: 118.2 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 0 / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000236/0.0118, allocations: 39.83 kB / 1.006 GB, free: 1.004 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001678/0.01197, allocations: 111.1 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.01224, allocations: 149.1 kB / 1.006 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01224, allocations: 0 / 1.006 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.01228, allocations: 19.92 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.01253, allocations: 27.92 kB / 1.006 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01295, allocations: 181.4 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.761e-05/0.01303, allocations: 80.31 kB / 1.006 GB, free: 384 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.01305, allocations: 4.734 kB / 1.006 GB, free: 380 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.01308, allocations: 12.5 kB / 1.006 GB, free: 368 kB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.01308, allocations: 0 / 1.006 GB, free: 368 kB / 0.9512 GB Notification: Performance of Templates: time 0.005176/0.01825, allocations: 1.514 MB / 1.008 GB, free: 14.89 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.369064457714558]