Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001321/0.001321, allocations: 108.1 kB / 17.6 MB, free: 4.688 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.00142/0.00142, allocations: 189.9 kB / 20.78 MB, free: 1.52 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.616/1.616, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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.809/2.809, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 75.88 kB / 1.107 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.956, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002163/0.9582, allocations: 0.9506 MB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.9598, allocations: 1.174 MB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.9599, allocations: 6.938 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.96, allocations: 23.11 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.9601, allocations: 24.75 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.9606, allocations: 150.6 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.9608, allocations: 164.4 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.961, allocations: 38.45 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.961, allocations: 57.48 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.9611, allocations: 54.12 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.9612, allocations: 14.59 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.9612, allocations: 28.98 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.9612, allocations: 17.12 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.9613, allocations: 65.83 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.9615, allocations: 162.1 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9615, allocations: 0.8125 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9615, allocations: 0 / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.9615, allocations: 4.75 kB / 1.274 GB, free: 5.84 MB / 0.9981 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.0004673/0.962, allocations: 441.1 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9621, allocations: 10.31 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.9621, allocations: 39.94 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.9621, allocations: 12.2 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.9623, allocations: 225.5 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.9623, allocations: 7.938 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.9624, allocations: 11.34 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.9625, allocations: 78.23 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9625, allocations: 4.562 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.9625, allocations: 0.8125 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9625, allocations: 1.594 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.9626, allocations: 33.58 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.963, allocations: 0.5402 MB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.9631, allocations: 30.08 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.9631, allocations: 14.38 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.9631, allocations: 0 / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.881e-05/0.9632, allocations: 68.03 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9632, allocations: 0 / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000212/0.9634, allocations: 85.58 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.9634, allocations: 54.05 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.9636, allocations: 177 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9636, allocations: 28.48 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.9637, allocations: 105.2 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.9637, allocations: 11.25 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.9637, allocations: 34.56 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.9638, allocations: 323 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.9639, allocations: 32.47 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.382e-05/0.964, allocations: 63.84 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.9641, allocations: 86.7 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9641, allocations: 4.656 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002745/0.9643, allocations: 173.7 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.9644, allocations: 36.94 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9644, allocations: 0 / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.9644, allocations: 1.031 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.06e-05/0.9644, allocations: 6.75 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9644, allocations: 5.094 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.9646, allocations: 37.53 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.9647, allocations: 11.48 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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 7.045e-05/0.9647, allocations: 117.2 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.9648, allocations: 9.141 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.9648, allocations: 15.45 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9648, allocations: 0 / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9648, allocations: 5.062 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.9648, allocations: 0 / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.9649, allocations: 193.4 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9649, allocations: 0 / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.9649, allocations: 6.5 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9649, allocations: 0 / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.9649, allocations: 2.969 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9649, allocations: 1.062 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9649, allocations: 3.938 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.965, allocations: 102.6 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.9651, allocations: 84.27 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.9651, allocations: 1.469 kB / 1.278 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.9651, allocations: 5.578 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.9651, allocations: 7.062 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.9651, allocations: 1.938 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.101e-05/0.9652, allocations: 126.5 kB / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9652, allocations: 0 / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002275/0.9655, allocations: 18.72 kB / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0002971/0.9657, allocations: 0.642 MB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.966, allocations: 120.3 kB / 1.278 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.966, allocations: 5 kB / 1.278 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.966, allocations: 14.84 kB / 1.278 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.9662, allocations: 27.16 kB / 1.278 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.9681, allocations: 1.699 MB / 1.28 GB, free: 16.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.9684, allocations: 0.7017 MB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.9685, allocations: 8.188 kB / 1.281 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.9685, allocations: 26.83 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9685, allocations: 4 kB / 1.281 GB, free: 15.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.9945, allocations: 2.843 MB / 1.284 GB, free: 15.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.187, allocations: 4.125 kB / 1.284 GB, free: 15.44 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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: 15.440862229996128]