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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.83 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002026/0.2523, allocations: 0.9297 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2536, allocations: 1.18 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2537, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2538, allocations: 23.73 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.2539, allocations: 11.88 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.2543, allocations: 149.8 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2545, allocations: 183.6 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2547, allocations: 37.38 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.2547, allocations: 59.78 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.2548, allocations: 43.83 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2549, allocations: 16 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.255, allocations: 35.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.255, allocations: 15.94 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.2551, allocations: 55.72 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.2553, allocations: 167.7 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2553, allocations: 3.984 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2553, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.2553, allocations: 4 kB / 1.067 GB, free: 11.61 MB / 0.8262 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.0004933/0.2558, allocations: 436.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2559, allocations: 8.031 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.2559, allocations: 38.75 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.2559, allocations: 12.83 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2562, allocations: 226.5 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2562, allocations: 8.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.2562, allocations: 8.312 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2564, allocations: 84.81 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2564, allocations: 3.938 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2564, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2564, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.2565, allocations: 27.92 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.257, allocations: 0.5359 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.836e-05/0.2571, allocations: 26.58 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.2571, allocations: 16.91 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.2571, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.2572, allocations: 67.33 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2572, allocations: 3.938 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001981/0.2575, allocations: 77.78 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.2575, allocations: 51.41 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0001669/0.2577, allocations: 175.3 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.2577, allocations: 29.7 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.2578, allocations: 104 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.2578, allocations: 11.91 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.2579, allocations: 33.7 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.258, allocations: 318.8 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.2581, allocations: 39.98 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.2581, allocations: 54.5 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.2583, allocations: 92.33 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2583, allocations: 4 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.2586, allocations: 171.2 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.2586, allocations: 37.69 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2586, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.2586, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.2587, allocations: 7.938 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2587, allocations: 7.875 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.2589, allocations: 35.81 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.259, allocations: 16.05 kB / 1.069 GB, free: 8.582 MB / 0.8262 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 8.596e-05/0.2591, allocations: 114.4 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.2591, allocations: 7.906 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.2591, allocations: 16.92 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2591, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2591, allocations: 7.938 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2591, allocations: 0 / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2593, allocations: 193.6 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2593, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.2593, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2593, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.2593, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2593, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2593, allocations: 3.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.2595, allocations: 96.95 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.2595, allocations: 88.92 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2595, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.2596, allocations: 4 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.2596, allocations: 3.938 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.2596, allocations: 11.92 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.2597, allocations: 124.9 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2597, allocations: 0 / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002208/0.2599, allocations: 20 kB / 1.07 GB, free: 7.801 MB / 0.8262 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.0003823/0.2603, allocations: 0.6358 MB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.2605, allocations: 135.4 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2606, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.425e-05/0.2606, allocations: 19.94 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.2608, allocations: 20.86 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2625, allocations: 1.689 MB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2628, allocations: 0.7002 MB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.2628, allocations: 8.422 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.2629, allocations: 31.42 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2629, allocations: 0 / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.281, allocations: 2.823 MB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.572, allocations: 16.02 kB / 1.076 GB, free: 1.707 MB / 0.8262 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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