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.001661/0.001661, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00186/0.001861, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.78/1.78, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 69 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.001959/0.23, allocations: 0.9933 MB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2312, allocations: 1.171 MB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.2313, allocations: 7.938 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.2314, allocations: 15.86 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.2315, allocations: 19.88 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.2319, allocations: 127 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.232, allocations: 183.6 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2322, allocations: 37.39 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.2322, allocations: 59.73 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.2323, allocations: 47.75 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2323, allocations: 16 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.2324, allocations: 35.98 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.2324, allocations: 19.92 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.2325, allocations: 51.8 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2327, allocations: 167.7 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2327, allocations: 0 / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2327, allocations: 4 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2327, allocations: 0 / 1.055 GB, free: 5.664 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.0004426/0.2331, allocations: 432.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2332, allocations: 12.62 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.2332, allocations: 34.69 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.2333, allocations: 16.84 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2335, allocations: 220 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2335, allocations: 8.375 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2335, allocations: 12.36 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2336, allocations: 80.75 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2337, allocations: 7.875 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2337, allocations: 8 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2337, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.007e-05/0.2338, allocations: 24 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.2342, allocations: 0.5321 MB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.2343, allocations: 34.52 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.2343, allocations: 12.92 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2343, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.2344, allocations: 67.3 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2345, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.2346, allocations: 85.56 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2347, allocations: 55.34 kB / 1.057 GB, free: 3.824 MB / 0.8106 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.0001521/0.2348, allocations: 176 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2349, allocations: 29.7 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.2349, allocations: 112 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.2349, allocations: 11.88 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.235, allocations: 29.7 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.2351, allocations: 322.8 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.2352, allocations: 35.98 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.2353, allocations: 58.56 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.2354, allocations: 92.2 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2354, allocations: 4.062 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002454/0.2356, allocations: 163.2 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.2357, allocations: 42.94 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2357, allocations: 7.875 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.2357, allocations: 4 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-05/0.2358, allocations: 4.062 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2358, allocations: 7.938 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.236, allocations: 31.81 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.236, allocations: 7.984 kB / 1.058 GB, free: 2.629 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: 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.347e-05/0.2361, allocations: 119.5 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.2361, allocations: 7.906 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.2361, allocations: 12.94 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2361, allocations: 4 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2361, allocations: 3.938 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2361, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2363, allocations: 189.6 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2363, allocations: 0 / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.2363, allocations: 7.938 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2363, allocations: 3.984 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2363, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2363, allocations: 3.984 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2363, allocations: 3.938 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.2364, allocations: 93.03 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.2365, allocations: 92.91 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2365, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.2365, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.2366, allocations: 11.94 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2366, allocations: 0 / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.2367, allocations: 124 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2367, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002013/0.2369, allocations: 28 kB / 1.059 GB, free: 1.844 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: 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.0003451/0.2372, allocations: 0.6358 MB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2374, allocations: 135.3 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2374, allocations: 4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.2375, allocations: 16.12 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.2377, allocations: 27.86 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2393, allocations: 1.696 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2395, allocations: 0.6963 MB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2395, allocations: 8.438 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2396, allocations: 35.42 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2396, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.6/4.84, allocations: 2.742 MB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/4.84, allocations: 236 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/7.569, allocations: 1.375 kB / 1.065 GB, free: 11.62 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 & /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=50 --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