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.001409/0.001409, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.001314/0.001314, allocations: 195.8 kB / 19.41 MB, free: 3.645 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.79/2.79, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6596, allocations: 168.7 MB / 1.269 GB, free: 5.184 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.002331/0.662, allocations: 0.8661 MB / 1.27 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.6635, allocations: 1.172 MB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.6636, allocations: 4 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.6637, allocations: 23.73 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.6638, allocations: 23.84 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.6642, allocations: 154.5 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.6645, allocations: 163.6 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6646, allocations: 41.11 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.6647, allocations: 59.84 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6648, allocations: 55.69 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.6648, allocations: 12 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.6649, allocations: 35.92 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.6649, allocations: 15.92 kB / 1.271 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.665, allocations: 55.73 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.6653, allocations: 169.4 kB / 1.271 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6653, allocations: 0 / 1.271 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6653, allocations: 4 kB / 1.272 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6653, allocations: 0 / 1.272 GB, free: 2.344 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.0005554/0.6658, allocations: 440.6 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.6659, allocations: 8.031 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.6659, allocations: 34.75 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.6659, allocations: 12.89 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.6662, allocations: 225.2 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6662, allocations: 12.38 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.6662, allocations: 8.375 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.6664, allocations: 84.69 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6664, allocations: 3.938 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6664, allocations: 8 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.6664, allocations: 0 / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.6665, allocations: 23.98 kB / 1.272 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.667, allocations: 0.536 MB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/0.6671, allocations: 34.5 kB / 1.273 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.6671, allocations: 12.92 kB / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.6671, allocations: 0 / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.6672, allocations: 63.39 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6672, allocations: 0 / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000196/0.6674, allocations: 85.53 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.6675, allocations: 51.41 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.6676, allocations: 180 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.6677, allocations: 29.7 kB / 1.273 GB, free: 288 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.6677, allocations: 108.1 kB / 1.273 GB, free: 176 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.6678, allocations: 7.953 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.6678, allocations: 33.7 kB / 1.273 GB, free: 128 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.668, allocations: 318.8 kB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.668, allocations: 43.97 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.6681, allocations: 54.56 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.6682, allocations: 92.2 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6682, allocations: 4 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002713/0.6685, allocations: 163.2 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.6686, allocations: 41.69 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6686, allocations: 4 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6686, allocations: 0 / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.345e-05/0.6686, allocations: 7.938 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6686, allocations: 3.938 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.6688, allocations: 31.98 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.6688, allocations: 11.98 kB / 1.274 GB, free: 15.31 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 9.596e-05/0.6689, allocations: 123.9 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.6689, allocations: 12.19 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.669, allocations: 12.92 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.669, allocations: 3.984 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.669, allocations: 7.875 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.669, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.6692, allocations: 193.6 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6692, allocations: 4 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.6692, allocations: 4 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6692, allocations: 0 / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.6692, allocations: 0 / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6692, allocations: 0 / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6692, allocations: 7.938 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.6693, allocations: 93.03 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.6694, allocations: 85.05 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.6694, allocations: 4 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.6694, allocations: 8 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.6694, allocations: 3.938 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.6694, allocations: 4 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001023/0.6695, allocations: 123.9 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.6695, allocations: 3.938 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000208/0.6697, allocations: 24 kB / 1.275 GB, free: 14.51 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.0004429/0.6702, allocations: 0.6319 MB / 1.275 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.6704, allocations: 123.3 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6704, allocations: 0 / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.6704, allocations: 12 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.6707, allocations: 30.61 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.6725, allocations: 1.669 MB / 1.277 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.6728, allocations: 0.7001 MB / 1.278 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.6728, allocations: 8.422 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.6729, allocations: 27.44 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.6729, allocations: 7.938 kB / 1.278 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.111/1.784, allocations: 2.835 MB / 1.281 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/10.32, allocations: 16.91 kB / 1.281 GB, free: 8.449 MB / 0.9825 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] 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: 16.246171401347965]