Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001313/0.001313, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001493/0.001493, allocations: 214.8 kB / 23.04 MB, free: 4.859 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.77 MB / 206.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 3.1/3.1, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [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.002031/0.002031, allocations: 62.81 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002278/0.3317, allocations: 0.8394 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3333, allocations: 1.186 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.3334, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3336, allocations: 31.72 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.3336, allocations: 19.86 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.3341, allocations: 146.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.3343, allocations: 167.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3344, allocations: 37.5 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.3345, allocations: 55.84 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3346, allocations: 51.69 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3346, allocations: 19.94 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.3347, allocations: 23.98 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3347, allocations: 15.94 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.3348, allocations: 55.78 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3351, allocations: 167.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 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.0005511/0.3356, allocations: 367.5 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3357, allocations: 11.97 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.3357, allocations: 16.84 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.336, allocations: 164 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.336, allocations: 12.38 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.336, allocations: 4.375 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3362, allocations: 80.81 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3362, allocations: 4.125 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3362, allocations: 15.92 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3362, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.3363, allocations: 23.98 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.3368, allocations: 452.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.3368, allocations: 30.52 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.3368, allocations: 16.86 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3369, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.337, allocations: 63.38 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.337, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002082/0.3372, allocations: 81.59 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3372, allocations: 55.34 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3374, allocations: 152.9 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3374, allocations: 33.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3375, allocations: 112 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.3375, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.3376, allocations: 33.7 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3377, allocations: 326.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3378, allocations: 73.67 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3379, allocations: 84.27 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3381, allocations: 96.2 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3381, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002995/0.3384, allocations: 200.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.3384, allocations: 33.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3384, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3384, allocations: 12 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.3385, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3385, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3387, allocations: 27.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3387, allocations: 11.92 kB / 1.332 GB, free: 11.34 MB / 1.029 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.0001028/0.3388, allocations: 122.4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.3388, allocations: 7.953 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3388, allocations: 12.33 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3388, allocations: 4.062 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3389, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3389, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.339, allocations: 133.2 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.339, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.339, allocations: 3.938 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.339, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.339, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.339, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.339, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3391, allocations: 101 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.3392, allocations: 11.95 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3392, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3392, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.3392, allocations: 8.266 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.3392, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.009e-05/0.3393, allocations: 115.2 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3393, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002128/0.3395, allocations: 20 kB / 1.333 GB, free: 10.73 MB / 1.029 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.0001416/0.3397, allocations: 107.1 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3399, allocations: 161 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3399, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.34, allocations: 15.94 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3402, allocations: 23.86 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3406, allocations: 212.2 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.3407, allocations: 88.3 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.3407, allocations: 11.44 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3407, allocations: 3.938 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Templates: time 0.003166/0.3438, allocations: 1.437 MB / 1.335 GB, free: 8.613 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.700763023924083]