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.001532/0.001532, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001578/0.001578, allocations: 189 kB / 16.25 MB, free: 6.152 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 65.19 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2434, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001987/0.2454, allocations: 0.9201 MB / 1.053 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2467, allocations: 1.174 MB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.2468, allocations: 4 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.2469, allocations: 23.8 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.247, allocations: 11.92 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.2474, allocations: 127.3 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.2476, allocations: 179.6 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2477, allocations: 41.39 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.2478, allocations: 51.8 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.2478, allocations: 43.83 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2479, allocations: 15.94 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.509e-05/0.2479, allocations: 43.91 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.248, allocations: 19.92 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.248, allocations: 55.73 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.2482, allocations: 171.7 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2482, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2482, allocations: 0 / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2483, allocations: 0 / 1.055 GB, free: 5.75 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.0004212/0.2487, allocations: 436.7 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2487, allocations: 8.625 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.2487, allocations: 30.75 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.2488, allocations: 12.84 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.249, allocations: 226.9 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.249, allocations: 12.36 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.249, allocations: 8.375 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2492, allocations: 88.69 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2492, allocations: 7.922 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2492, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2492, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.2493, allocations: 27.94 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.2497, allocations: 0.5322 MB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.2498, allocations: 22.58 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.2498, allocations: 16.92 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/0.2498, allocations: 4 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.25, allocations: 71.22 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.25, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001606/0.2501, allocations: 77.59 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2502, allocations: 55.41 kB / 1.057 GB, free: 3.914 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.0001479/0.2503, allocations: 179.9 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2504, allocations: 33.7 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.2504, allocations: 104 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.2504, allocations: 7.891 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.2505, allocations: 33.7 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.2506, allocations: 322.8 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.2507, allocations: 35.98 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.2508, allocations: 58.5 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2509, allocations: 92.27 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2509, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000249/0.2511, allocations: 171.2 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2512, allocations: 41.69 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2512, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.2512, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.2512, allocations: 11.88 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2513, allocations: 11.94 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.2515, allocations: 27.88 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2515, allocations: 11.98 kB / 1.058 GB, free: 2.715 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.658e-05/0.2516, allocations: 117.8 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.2516, allocations: 11.91 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.2516, allocations: 4.938 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2516, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2516, allocations: 15.92 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.2516, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.2518, allocations: 185.6 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2518, allocations: 3.984 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.2518, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2518, allocations: 4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2518, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2518, allocations: 0 / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2518, allocations: 3.938 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.2519, allocations: 96.97 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.252, allocations: 93.19 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.252, allocations: 0 / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.252, allocations: 4 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2521, allocations: 7.938 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2521, allocations: 3.984 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.85e-05/0.2522, allocations: 120 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2522, allocations: 0 / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002072/0.2524, allocations: 31.92 kB / 1.059 GB, free: 1.93 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.0003293/0.2527, allocations: 0.6397 MB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2529, allocations: 131.4 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2529, allocations: 0 / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.2529, allocations: 19.94 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2532, allocations: 27.98 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2546, allocations: 1.657 MB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.2548, allocations: 0.6924 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2549, allocations: 8.422 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.2549, allocations: 35.42 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2549, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.883/4.138, allocations: 2.705 MB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/4.138, allocations: 234.9 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/8.031, allocations: 4 kB / 1.065 GB, free: 11.78 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