Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_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.00102/0.00102, allocations: 108 kB / 15.61 MB, free: 148 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.001047/0.001047, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7347 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 66 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002009/0.2428, allocations: 0.8631 MB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2441, allocations: 1.17 MB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.2442, allocations: 7.938 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2444, allocations: 27.78 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.2444, allocations: 15.86 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.2449, allocations: 147.1 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.2451, allocations: 175.6 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2452, allocations: 41.38 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.2452, allocations: 55.78 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.2453, allocations: 43.78 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2454, allocations: 20 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.2454, allocations: 27.98 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2455, allocations: 23.91 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.2456, allocations: 55.72 kB / 1.056 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2458, allocations: 163.8 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2458, allocations: 0 / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2458, allocations: 0 / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2458, allocations: 0 / 1.056 GB, free: 5.418 MB / 0.8106 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.0004615/0.2462, allocations: 444.7 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2463, allocations: 8.625 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.2463, allocations: 42.75 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.2464, allocations: 12.83 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2466, allocations: 228 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2466, allocations: 8.375 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2467, allocations: 4.375 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2468, allocations: 85.25 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2468, allocations: 3.938 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2468, allocations: 4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2468, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.689e-05/0.2469, allocations: 27.94 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.2473, allocations: 0.5322 MB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.2474, allocations: 30.58 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.2474, allocations: 12.92 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.2474, allocations: 3.938 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.2476, allocations: 67.28 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2476, allocations: 0 / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.00018/0.2478, allocations: 77.59 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2478, allocations: 55.41 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.0001498/0.248, allocations: 183.9 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.248, allocations: 33.64 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2481, allocations: 104 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2481, allocations: 11.89 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.2481, allocations: 29.7 kB / 1.058 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.2482, allocations: 318.8 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.2483, allocations: 39.98 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.2484, allocations: 58.56 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2485, allocations: 92.2 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2485, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002735/0.2488, allocations: 163.2 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.2489, allocations: 41.69 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2489, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2489, allocations: 4.062 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.154e-05/0.2489, allocations: 4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2489, allocations: 3.938 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2491, allocations: 35.88 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2492, allocations: 11.98 kB / 1.058 GB, free: 2.379 MB / 0.8106 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 7.761e-05/0.2493, allocations: 121.8 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.2493, allocations: 7.906 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.2493, allocations: 8.938 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2493, allocations: 7.984 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2493, allocations: 7.875 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2493, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2495, allocations: 193.6 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2495, allocations: 0 / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.2495, allocations: 4 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2495, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.2495, allocations: 3.938 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2495, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2495, allocations: 4.172 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.2496, allocations: 97.02 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2497, allocations: 92.91 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2497, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.2497, allocations: 4 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.2498, allocations: 7.938 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2498, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.2498, allocations: 127.9 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2499, allocations: 4 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000213/0.2501, allocations: 23.94 kB / 1.059 GB, free: 1.582 MB / 0.8106 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.000356/0.2504, allocations: 0.6319 MB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2506, allocations: 135.3 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2507, allocations: 4.125 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/0.2507, allocations: 16 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.2509, allocations: 19.92 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2524, allocations: 1.646 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2526, allocations: 0.6962 MB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.2527, allocations: 16.42 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.2527, allocations: 31.42 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2527, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4322/0.685, allocations: 2.79 MB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.545, allocations: 4.375 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches