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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004665/0.004665, allocations: 97.58 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 192.3 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.439/2.439, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 71.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2439, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.001861/0.2458, allocations: 0.9345 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2472, allocations: 1.178 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2473, allocations: 4 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2474, allocations: 19.8 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.2475, allocations: 23.8 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.2479, allocations: 143.5 kB / 1.222 GB, free: 11.98 MB / 0.9825 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.000215/0.2481, allocations: 175.6 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2482, allocations: 45.34 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.2483, allocations: 55.83 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.2484, allocations: 51.77 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.2484, allocations: 16 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.2485, allocations: 27.98 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.2485, allocations: 19.86 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.2486, allocations: 63.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.2488, allocations: 163.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2488, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2489, allocations: 0 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2489, allocations: 8 kB / 1.223 GB, free: 11.37 MB / 0.9825 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.0004903/0.2494, allocations: 440.6 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2494, allocations: 12.03 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.2495, allocations: 34.75 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.2495, allocations: 12.89 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.2498, allocations: 226.5 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2498, allocations: 4.375 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2498, allocations: 12.36 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2499, allocations: 92.75 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.25, allocations: 3.938 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.25, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.25, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.25, allocations: 27.92 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.2505, allocations: 0.5438 MB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.2506, allocations: 30.62 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.2506, allocations: 12.86 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.2507, allocations: 0 / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.2508, allocations: 67.33 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2508, allocations: 0 / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001759/0.251, allocations: 81.59 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.251, allocations: 55.39 kB / 1.225 GB, free: 9.512 MB / 0.9825 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2512, allocations: 179.9 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.2512, allocations: 25.7 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.2513, allocations: 108.1 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.2513, allocations: 3.953 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.2514, allocations: 33.7 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2515, allocations: 330.8 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.2516, allocations: 35.98 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.2517, allocations: 58.55 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.2518, allocations: 88.22 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2518, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000266/0.2521, allocations: 171.2 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.2521, allocations: 39.89 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2521, allocations: 3.938 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.2521, allocations: 64 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.2522, allocations: 8 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2522, allocations: 3.938 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2524, allocations: 35.84 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2524, allocations: 8.062 kB / 1.226 GB, free: 8.324 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: 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 9.831e-05/0.2525, allocations: 122.4 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2525, allocations: 7.953 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.2526, allocations: 16.92 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2526, allocations: 0 / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2526, allocations: 3.938 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2526, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.2527, allocations: 189.6 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2527, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.2528, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2528, allocations: 4 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2528, allocations: 4 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2528, allocations: 0 / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2528, allocations: 7.875 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2529, allocations: 101.2 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.253, allocations: 89.06 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.253, allocations: 0 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.253, allocations: 0 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.253, allocations: 7.938 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2531, allocations: 7.984 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.2532, allocations: 124 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2532, allocations: 0 / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001914/0.2534, allocations: 23.94 kB / 1.226 GB, free: 7.531 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: 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.0004106/0.2538, allocations: 0.6397 MB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.254, allocations: 135.4 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.254, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.254, allocations: 19.88 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.2542, allocations: 29.36 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2559, allocations: 1.7 MB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2562, allocations: 0.6963 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.2562, allocations: 8.422 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.2563, allocations: 31.44 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2563, allocations: 0 / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.03, allocations: 2.857 MB / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/18.36, allocations: 2 kB / 1.232 GB, free: 1.402 MB / 0.9825 GB (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches