Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_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.005192/0.005192, allocations: 104.6 kB / 15.74 MB, free: 6.02 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.001445/0.001445, allocations: 192 kB / 16.67 MB, free: 5.938 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.468/2.468, allocations: 482.6 MB / 0.7551 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 72.89 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 162.3 MB / 1.242 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.001858/0.2625, allocations: 0.9192 MB / 1.243 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2637, allocations: 1.168 MB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.2638, allocations: 3.938 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2639, allocations: 23.8 kB / 1.244 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.264, allocations: 15.86 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.2644, allocations: 146.9 kB / 1.244 GB, free: 6.676 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.0002176/0.2646, allocations: 183.6 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2647, allocations: 45.36 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.2648, allocations: 59.78 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.2649, allocations: 55.75 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.265, allocations: 12 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.265, allocations: 27.98 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.2651, allocations: 19.92 kB / 1.244 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.2651, allocations: 63.72 kB / 1.245 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2653, allocations: 175.6 kB / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2653, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2654, allocations: 0 / 1.245 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2654, allocations: 0 / 1.245 GB, free: 6.043 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.0004644/0.2658, allocations: 440.6 kB / 1.245 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2659, allocations: 8.031 kB / 1.245 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.2659, allocations: 38.73 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.266, allocations: 12.89 kB / 1.245 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.2662, allocations: 224.2 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2662, allocations: 4.375 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2663, allocations: 12.38 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2664, allocations: 88.62 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2664, allocations: 3.938 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2664, allocations: 4 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2664, allocations: 4 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.2665, allocations: 27.92 kB / 1.246 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.267, allocations: 0.54 MB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.267, allocations: 30.52 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.2671, allocations: 16.92 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.2671, allocations: 0 / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.859e-05/0.2672, allocations: 63.38 kB / 1.246 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2672, allocations: 0 / 1.246 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001743/0.2674, allocations: 81.58 kB / 1.246 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2674, allocations: 51.41 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.0001636/0.2676, allocations: 184.4 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2676, allocations: 33.7 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.2677, allocations: 96.14 kB / 1.247 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.2677, allocations: 23.83 kB / 1.247 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.2678, allocations: 29.7 kB / 1.247 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2679, allocations: 322.8 kB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.268, allocations: 35.98 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.2681, allocations: 54.56 kB / 1.247 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2682, allocations: 96.2 kB / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2682, allocations: 0 / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002548/0.2685, allocations: 163.2 kB / 1.247 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.2685, allocations: 43.72 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.2685, allocations: 0 / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2685, allocations: 4.234 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.377e-05/0.2686, allocations: 0 / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2686, allocations: 8 kB / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.2688, allocations: 35.86 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2688, allocations: 8 kB / 1.247 GB, free: 3.004 MB / 0.9669 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.306e-05/0.2689, allocations: 130.3 kB / 1.247 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.2689, allocations: 11.89 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.269, allocations: 8.938 kB / 1.248 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.269, allocations: 4 kB / 1.248 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.269, allocations: 7.938 kB / 1.248 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.269, allocations: 0 / 1.248 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2691, allocations: 189.6 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2691, allocations: 0 / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.2691, allocations: 4 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2692, allocations: 3.984 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2692, allocations: 8.062 kB / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2692, allocations: 0 / 1.248 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2692, allocations: 3.938 kB / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.2693, allocations: 89.08 kB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.2694, allocations: 93.02 kB / 1.248 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2694, allocations: 7.922 kB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.2694, allocations: 0 / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.2694, allocations: 7.938 kB / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2694, allocations: 0 / 1.248 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.128e-05/0.2695, allocations: 128 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2695, allocations: 0 / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001977/0.2697, allocations: 19.94 kB / 1.248 GB, free: 2.199 MB / 0.9669 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.0003889/0.2701, allocations: 0.632 MB / 1.249 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2703, allocations: 139.3 kB / 1.249 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2704, allocations: 0 / 1.249 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.392e-05/0.2704, allocations: 16 kB / 1.249 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.2706, allocations: 24.05 kB / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2723, allocations: 1.695 MB / 1.25 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2726, allocations: 0.7002 MB / 1.251 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.2726, allocations: 8.438 kB / 1.251 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2726, allocations: 31.42 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2727, allocations: 3.938 kB / 1.251 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/0.6036, allocations: 2.855 MB / 1.254 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.961, allocations: 12.94 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches