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.0007568/0.0007568, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007722/0.0007722, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8954/0.8954, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 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 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.123e-05, allocations: 9.453 kB / 0.9997 GB, free: 13.5 MB / 0.9636 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.001235/0.001246, allocations: 0.8204 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.002236, allocations: 1.198 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.002298, allocations: 7.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.002407, allocations: 31.72 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.002443, allocations: 11.88 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.002778, allocations: 151.1 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.002935, allocations: 175.5 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.00303, allocations: 29.56 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.003104, allocations: 79.88 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.003179, allocations: 39.88 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.0032, allocations: 16 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.003261, allocations: 31.92 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.003282, allocations: 11.94 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.003335, allocations: 47.89 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.00353, allocations: 187.4 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003532, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003533, allocations: 4 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003537, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 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.0004461/0.003984, allocations: 355.5 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.004025, allocations: 8.75 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.004056, allocations: 42.73 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.004096, allocations: 16.84 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.004306, allocations: 157.6 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.004322, allocations: 12.38 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.004338, allocations: 4.375 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.004467, allocations: 88.69 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.004476, allocations: 192 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.004488, allocations: 4.375 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.004496, allocations: 8.125 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.004547, allocations: 23.98 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.005135, allocations: 492.1 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.005202, allocations: 30.52 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.00522, allocations: 4.922 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.00523, allocations: 8 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.005336, allocations: 67.38 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005337, allocations: 0 / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.00552, allocations: 81.58 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.005554, allocations: 51.41 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.005673, allocations: 179.2 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.005692, allocations: 29.7 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.005749, allocations: 96.14 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.005763, allocations: 15.94 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.00581, allocations: 33.69 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.005894, allocations: 330.8 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.005963, allocations: 65.69 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.006028, allocations: 88.25 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.489e-05/0.006103, allocations: 92.2 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006104, allocations: 3.938 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001899/0.006294, allocations: 204.9 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.006321, allocations: 33.7 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.006326, allocations: 3.984 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006337, allocations: 4.062 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.006378, allocations: 4.234 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.006382, allocations: 0 / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.006493, allocations: 39.84 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.006504, allocations: 4 kB / 1.005 GB, free: 7.75 MB / 0.9636 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 6.474e-05/0.006569, allocations: 121.8 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.00658, allocations: 19.88 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.006604, allocations: 13.03 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006606, allocations: 7.938 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006609, allocations: 0 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006613, allocations: 0 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.006699, allocations: 156.7 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.006699, allocations: 0 / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.006707, allocations: 4 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.006708, allocations: 0 / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006715, allocations: 4.062 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.006715, allocations: 0 / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006716, allocations: 80 / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.006794, allocations: 101 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.006807, allocations: 11.95 kB / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.006817, allocations: 0 / 1.005 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.006829, allocations: 4 kB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.006853, allocations: 3.984 kB / 1.005 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006856, allocations: 4 kB / 1.005 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.006917, allocations: 123.9 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006917, allocations: 0 / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001432/0.00706, allocations: 27.95 kB / 1.006 GB, free: 7.082 MB / 0.9636 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.0002779/0.007338, allocations: 0.6396 MB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.007498, allocations: 161 kB / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.0075, allocations: 0 / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.00752, allocations: 12 kB / 1.006 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.007678, allocations: 19.92 kB / 1.006 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.008842, allocations: 1.777 MB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.008888, allocations: 84.45 kB / 1.008 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.008911, allocations: 8.484 kB / 1.008 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.008949, allocations: 36.42 kB / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.008949, allocations: 0 / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.02329, allocations: 3.616 MB / 1.012 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.319/6.342, allocations: 18.8 kB / 1.012 GB, free: 0.7188 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 840.0] 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: 10.271108506247401]