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.001446/0.001446, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001655/0.001655, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] 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.913/2.913, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.001959/0.001959, allocations: 67.64 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 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.002045/0.3, allocations: 0.8634 MB / 1.355 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3015, allocations: 1.206 MB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.3016, allocations: 4 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.3017, allocations: 35.72 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.3017, allocations: 11.88 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3022, allocations: 154.2 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.3024, allocations: 171.6 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3025, allocations: 29.52 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.3026, allocations: 63.77 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3027, allocations: 51.77 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3027, allocations: 16 kB / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.3028, allocations: 27.98 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.3028, allocations: 23.92 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.009e-05/0.3029, allocations: 55.72 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3031, allocations: 171.4 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3031, allocations: 0 / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3031, allocations: 4 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3031, allocations: 0 / 1.357 GB, free: 5.078 MB / 1.045 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.0005063/0.3036, allocations: 359.5 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3037, allocations: 15.97 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.3037, allocations: 12.89 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.304, allocations: 167.5 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.304, allocations: 8.375 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.304, allocations: 8.375 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3042, allocations: 80.81 kB / 1.358 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3042, allocations: 4.125 kB / 1.358 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3042, allocations: 7.938 kB / 1.358 GB, free: 4.352 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3042, allocations: 4 kB / 1.358 GB, free: 4.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.3042, allocations: 24 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.3048, allocations: 0.5 MB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.3048, allocations: 30.56 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.3049, allocations: 20.86 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.3049, allocations: 3.984 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.305, allocations: 59.39 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.305, allocations: 0 / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001981/0.3052, allocations: 81.59 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3052, allocations: 59.33 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3054, allocations: 176.4 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3054, allocations: 33.7 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.3055, allocations: 108.1 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.3055, allocations: 11.89 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.3056, allocations: 29.7 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3057, allocations: 318.8 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.3058, allocations: 43.92 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.3059, allocations: 58.55 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.306, allocations: 96.28 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.306, allocations: 0 / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.3062, allocations: 167.2 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.3063, allocations: 37.7 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3063, allocations: 4 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3063, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.3063, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3063, allocations: 8.062 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3065, allocations: 39.78 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3065, allocations: 4 kB / 1.359 GB, free: 2.285 MB / 1.045 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 9.858e-05/0.3066, allocations: 122.5 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.3067, allocations: 7.953 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3067, allocations: 13.02 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3067, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3067, allocations: 4 kB / 1.36 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3067, allocations: 3.938 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3068, allocations: 160.7 kB / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3068, allocations: 4 kB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.3069, allocations: 3.938 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3069, allocations: 0 / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3069, allocations: 0 / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3069, allocations: 4 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3069, allocations: 0 / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.307, allocations: 101 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.307, allocations: 11.91 kB / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.307, allocations: 0 / 1.36 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.3071, allocations: 4 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.3071, allocations: 7.922 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3071, allocations: 8 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.237e-05/0.3072, allocations: 120 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3072, allocations: 0 / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002106/0.3074, allocations: 24 kB / 1.36 GB, free: 1.625 MB / 1.045 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.0001357/0.3075, allocations: 111.1 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.3077, allocations: 131.2 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3077, allocations: 0 / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.3078, allocations: 19.94 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.308, allocations: 16.45 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.3084, allocations: 216.4 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3087, allocations: 0.7001 MB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3087, allocations: 11.44 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3087, allocations: 4 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of Templates: time 0.003065/0.3117, allocations: 1.457 MB / 1.363 GB, free: 14.9 MB / 1.061 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/jenkins1/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: 9.939553209987935]