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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, 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.001074/0.001074, allocations: 194.6 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.506/2.506, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.81 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2388, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.00194/0.2408, allocations: 0.8524 MB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2421, allocations: 1.174 MB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.194e-05/0.2422, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2423, allocations: 23.8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.2423, allocations: 15.84 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.2427, allocations: 142.9 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.2429, allocations: 175.6 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.243, allocations: 45.36 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.2431, allocations: 55.8 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.2432, allocations: 47.77 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2432, allocations: 16 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.846e-05/0.2433, allocations: 27.98 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2433, allocations: 15.92 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.2434, allocations: 59.72 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2436, allocations: 167.7 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2436, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2436, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.2436, allocations: 0 / 1.067 GB, free: 11.36 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.0004874/0.2441, allocations: 444.7 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2442, allocations: 8.031 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.2442, allocations: 42.69 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.2443, allocations: 8.844 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2445, allocations: 216.1 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2445, allocations: 4.375 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2445, allocations: 8.375 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2447, allocations: 84.81 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2447, allocations: 7.875 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2447, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2447, allocations: 11.92 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.2448, allocations: 20 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.2453, allocations: 0.5438 MB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.2453, allocations: 30.52 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.2454, allocations: 12.92 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.2454, allocations: 0 / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.2455, allocations: 67.39 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2455, allocations: 0 / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.2457, allocations: 81.58 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.2457, allocations: 55.34 kB / 1.068 GB, free: 9.516 MB / 0.8262 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 selectInitializationVariablesDAE (initialization): time 0.0001646/0.2459, allocations: 177.1 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2459, allocations: 29.7 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.246, allocations: 104 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.246, allocations: 11.91 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2461, allocations: 37.69 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2462, allocations: 322.8 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.2463, allocations: 39.97 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.2464, allocations: 50.75 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.2465, allocations: 92.2 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2465, allocations: 4 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002626/0.2468, allocations: 167.2 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.2468, allocations: 37.69 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2468, allocations: 48 / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2469, allocations: 7.984 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.2469, allocations: 0 / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2469, allocations: 3.938 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.2471, allocations: 35.88 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2471, allocations: 8.062 kB / 1.07 GB, free: 8.332 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: 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.304e-05/0.2472, allocations: 121.8 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.2472, allocations: 11.84 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.2473, allocations: 12.94 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2473, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2473, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2473, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2474, allocations: 189.6 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2474, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.2475, allocations: 11.94 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2475, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2475, allocations: 3.984 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2475, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2475, allocations: 4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2476, allocations: 93.03 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.2477, allocations: 88.92 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2477, allocations: 3.984 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.2477, allocations: 4 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.2477, allocations: 7.938 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2477, allocations: 0 / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.2478, allocations: 129.6 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2478, allocations: 0 / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001957/0.248, allocations: 19.94 kB / 1.07 GB, free: 7.547 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: 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.0003975/0.2485, allocations: 0.6441 MB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2487, allocations: 143.2 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2487, allocations: 0 / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.2487, allocations: 12 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2489, allocations: 29.27 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2505, allocations: 1.646 MB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2508, allocations: 0.7043 MB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.2508, allocations: 8.422 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.2509, allocations: 23.44 kB / 1.073 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2509, allocations: 3.938 kB / 1.073 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/0.4447, allocations: 2.792 MB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.985, allocations: 7.797 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches