Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 191 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.937/0.939, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.002374/0.9413, allocations: 0.8666 MB / 1.275 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.9431, allocations: 1.172 MB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.9432, allocations: 7.938 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.9434, allocations: 23.8 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.9435, allocations: 23.78 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.944, allocations: 142.9 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.9443, allocations: 171.6 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.9444, allocations: 37.31 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.9445, allocations: 55.78 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.9446, allocations: 55.75 kB / 1.277 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.9447, allocations: 16 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.9447, allocations: 31.92 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.9448, allocations: 19.92 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.9449, allocations: 59.67 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.9451, allocations: 170.1 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9451, allocations: 4 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9451, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9451, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 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.0007658/0.9459, allocations: 436.6 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.946, allocations: 12.03 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.946, allocations: 12.89 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.9463, allocations: 220.2 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.9464, allocations: 12.34 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.9464, allocations: 12.38 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9466, allocations: 88.69 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9466, allocations: 192 / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.9466, allocations: 3.938 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9466, allocations: 4 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.9467, allocations: 27.94 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.9474, allocations: 0.5322 MB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.9475, allocations: 26.58 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.9475, allocations: 20.92 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.9475, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.9477, allocations: 63.38 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9477, allocations: 0 / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002219/0.9479, allocations: 85.53 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.948, allocations: 51.41 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.9482, allocations: 173.2 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.9482, allocations: 37.69 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.9483, allocations: 104 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.9483, allocations: 11.95 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.9484, allocations: 33.69 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.9486, allocations: 322.8 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9487, allocations: 39.98 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.9488, allocations: 54.55 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.9489, allocations: 96.2 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.9489, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003045/0.9492, allocations: 171.2 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.9493, allocations: 41.69 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9493, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9493, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.9494, allocations: 7.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9494, allocations: 8 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.9496, allocations: 35.8 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.9496, allocations: 4 kB / 1.279 GB, free: 14.74 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: 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.0001174/0.9497, allocations: 121.8 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.9497, allocations: 7.953 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.9498, allocations: 12.94 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9498, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9498, allocations: 4 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.9498, allocations: 7.938 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.95, allocations: 189.6 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.95, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.95, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.95, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.95, allocations: 7.984 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.95, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.95, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.9502, allocations: 109.2 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.9502, allocations: 89.06 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9502, allocations: 3.984 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.9503, allocations: 0 / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.9503, allocations: 3.938 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.9503, allocations: 8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001219/0.9504, allocations: 124.9 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9504, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002299/0.9507, allocations: 23.94 kB / 1.28 GB, free: 13.95 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: 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.0001633/0.9508, allocations: 111.8 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.9511, allocations: 123.3 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9511, allocations: 0 / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.9511, allocations: 12 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.9514, allocations: 15.98 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.9519, allocations: 206.5 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.9523, allocations: 0.7001 MB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.9524, allocations: 8.422 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.9524, allocations: 11.44 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9524, allocations: 3.938 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.005088/0.9575, allocations: 1.459 MB / 1.283 GB, free: 11.25 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.991826196666807]