Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",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.001328/0.001329, 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.001452/0.001452, allocations: 192.2 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 71.88 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4755, allocations: 140.4 MB / 0.9492 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2277/0.7033, allocations: 251.3 MB / 1.195 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.7269, allocations: 20.59 MB / 1.215 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.729, allocations: 83.31 kB / 1.215 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.731, allocations: 0.695 MB / 1.215 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.7372, allocations: 2.739 MB / 1.218 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.7427, allocations: 2.569 MB / 1.221 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.7471, allocations: 3.835 MB / 1.224 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.7487, allocations: 1.23 MB / 1.226 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.751, allocations: 1.431 MB / 1.227 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.7522, allocations: 1.066 MB / 1.228 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.7524, allocations: 112 kB / 1.228 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007414/0.7598, allocations: 4.783 MB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005619/0.7604, allocations: 0.662 MB / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.7613, allocations: 0.9795 MB / 1.234 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005818/0.7671, allocations: 4.534 MB / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7671, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7671, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.77e-05/0.7671, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002633/0.7698, allocations: 2.291 MB / 1.241 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7698, allocations: 8.031 kB / 1.241 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.77, allocations: 198 kB / 1.241 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.7721, allocations: 481 kB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.7737, allocations: 1.267 MB / 1.243 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.7738, allocations: 102.3 kB / 1.243 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.774, allocations: 120 kB / 1.243 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.7763, allocations: 1.723 MB / 1.245 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.7763, allocations: 7.938 kB / 1.245 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7764, allocations: 48 kB / 1.245 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.499e-05/0.7765, allocations: 63.92 kB / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.7781, allocations: 1.224 MB / 1.246 GB, free: 0.6875 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3925/1.171, allocations: 7.557 MB / 1.254 GB, free: 282 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/1.172, allocations: 0.6646 MB / 1.254 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/1.172, allocations: 0.6154 MB / 1.255 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/1.174, allocations: 1.87 MB / 1.257 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.174, allocations: 53.59 kB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.907e-06/1.174, allocations: 1 kB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002576/1.176, allocations: 1.398 MB / 1.258 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/1.176, allocations: 295.7 kB / 1.258 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/1.179, allocations: 1.887 MB / 1.26 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/1.179, allocations: 41.98 kB / 1.26 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/1.179, allocations: 0.7306 MB / 1.261 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/1.179, allocations: 243.9 kB / 1.261 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.18, allocations: 134.1 kB / 1.261 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/1.18, allocations: 331.9 kB / 1.262 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/1.18, allocations: 329.7 kB / 1.262 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/1.181, allocations: 0.5621 MB / 1.262 GB, free: 276 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.182, allocations: 0.8626 MB / 1.263 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.182, allocations: 1.062 kB / 1.263 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00182/1.184, allocations: 1.015 MB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.184, allocations: 7.125 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.184, allocations: 4.188 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.184, allocations: 6.031 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.184, allocations: 127.4 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.184, allocations: 11.39 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/1.185, allocations: 133.1 kB / 1.265 GB, free: 275 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.185, allocations: 53.33 kB / 1.265 GB, free: 275 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0005617/1.186, allocations: 458.6 kB / 1.265 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.186, allocations: 186.9 kB / 1.265 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/1.188, allocations: 1.074 MB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.188, allocations: 17.77 kB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.188, allocations: 4.156 kB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/1.188, allocations: 5.391 kB / 1.266 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/1.197, allocations: 8.936 MB / 1.275 GB, free: 267.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.197, allocations: 16.34 kB / 1.275 GB, free: 267.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/1.198, allocations: 148.9 kB / 1.275 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/1.198, allocations: 19.72 kB / 1.275 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/1.198, allocations: 37.62 kB / 1.275 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/1.198, allocations: 30.95 kB / 1.275 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/1.198, allocations: 21.44 kB / 1.275 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/1.199, allocations: 1.678 MB / 1.277 GB, free: 266.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/1.2, allocations: 420.1 kB / 1.277 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/1.2, allocations: 40.02 kB / 1.277 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/1.201, allocations: 42.81 kB / 1.277 GB, free: 266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.201, allocations: 103.3 kB / 1.278 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/1.201, allocations: 56.77 kB / 1.278 GB, free: 265.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00146/1.203, allocations: 1.315 MB / 1.279 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.203, allocations: 0 / 1.279 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00159/1.204, allocations: 0.5286 MB / 1.279 GB, free: 265.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.003723/1.208, allocations: 3.021 MB / 1.282 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.209, allocations: 0.8569 MB / 1.283 GB, free: 262.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.209, allocations: 2.5 kB / 1.283 GB, free: 262.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005003/1.21, allocations: 488.3 kB / 1.284 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/1.215, allocations: 1.339 MB / 1.285 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.231, allocations: 16.04 MB / 1.301 GB, free: 249 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/1.231, allocations: 1.406 MB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001259/1.233, allocations: 484.3 kB / 1.302 GB, free: 247 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/1.233, allocations: 0.6555 MB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.82e-07/1.233, allocations: 3.938 kB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.708/3.942, allocations: 60.56 MB / 1.362 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/3.942, allocations: 238 kB / 1.362 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.496/7.438, allocations: 4 kB / 1.362 GB, free: 186.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches