Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_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.0009245/0.0009242, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000985/0.0009851, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.143/4.143, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005803/0.0005805, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9786/0.9792, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.4049/1.384, allocations: 200.8 MB / 1.177 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04487/1.429, allocations: 17.74 MB / 1.194 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/1.433, allocations: 79.31 kB / 1.194 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005914/1.439, allocations: 0.9602 MB / 1.195 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/1.452, allocations: 2.321 MB / 1.198 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0137/1.466, allocations: 2.68 MB / 1.2 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006368/1.473, allocations: 2.193 MB / 1.202 GB, free: 3 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/1.476, allocations: 0.935 MB / 1.203 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/1.479, allocations: 1.108 MB / 1.204 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/1.481, allocations: 0.6571 MB / 1.205 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/1.481, allocations: 55.98 kB / 1.205 GB, free: 224 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009841/1.491, allocations: 2.629 MB / 1.208 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/1.492, allocations: 0.557 MB / 1.208 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009689/1.493, allocations: 416.7 kB / 1.209 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006645/1.5, allocations: 2.787 MB / 1.211 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.5, allocations: 0 / 1.211 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.624e-06/1.5, allocations: 3.938 kB / 1.211 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.843e-05/1.5, allocations: 3.938 kB / 1.211 GB, free: 9.812 MB / 0.9669 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.005389/1.505, allocations: 1.914 MB / 1.213 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.506, allocations: 15.97 kB / 1.213 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004878/1.506, allocations: 190 kB / 1.213 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/1.511, allocations: 485 kB / 1.214 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/1.515, allocations: 1.194 MB / 1.215 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/1.515, allocations: 94.44 kB / 1.215 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/1.515, allocations: 128 kB / 1.215 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/1.52, allocations: 1.704 MB / 1.217 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/1.521, allocations: 3.938 kB / 1.217 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/1.521, allocations: 52 kB / 1.217 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/1.521, allocations: 63.72 kB / 1.217 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/1.525, allocations: 1.218 MB / 1.218 GB, free: 2.512 MB / 0.9669 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.01598/1.541, allocations: 7.548 MB / 1.226 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/1.543, allocations: 0.6696 MB / 1.226 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/1.545, allocations: 1.513 MB / 1.228 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/1.545, allocations: 46.5 kB / 1.228 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=72): time 6.442e-06/1.545, allocations: 0 / 1.228 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72): time 0.004926/1.55, allocations: 1.391 MB / 1.229 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/1.55, allocations: 302.7 kB / 1.229 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/1.555, allocations: 1.869 MB / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.556, allocations: 45.64 kB / 1.231 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/1.557, allocations: 0.733 MB / 1.232 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/1.557, allocations: 240.4 kB / 1.232 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/1.558, allocations: 12 kB / 1.232 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002479/1.558, allocations: 330 kB / 1.232 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008839/1.559, allocations: 329.1 kB / 1.233 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.56, allocations: 0.5586 MB / 1.233 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.561, allocations: 400.1 kB / 1.234 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.561, allocations: 0 / 1.234 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003067/1.564, allocations: 1.007 MB / 1.235 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.564, allocations: 8.031 kB / 1.235 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.564, allocations: 4 kB / 1.235 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.564, allocations: 11.95 kB / 1.235 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/1.565, allocations: 120.3 kB / 1.235 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/1.565, allocations: 11.94 kB / 1.235 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.567, allocations: 142.3 kB / 1.235 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.567, allocations: 43.98 kB / 1.235 GB, free: 208 kB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001458/1.569, allocations: 453.5 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008024/1.57, allocations: 197.5 kB / 1.236 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.574, allocations: 1.08 MB / 1.237 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/1.574, allocations: 12.28 kB / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/1.574, allocations: 7.953 kB / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/1.574, allocations: 3.984 kB / 1.237 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.597, allocations: 8.659 MB / 1.245 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.179e-05/1.597, allocations: 19.98 kB / 1.245 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/1.598, allocations: 143.7 kB / 1.245 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.502e-05/1.598, allocations: 20 kB / 1.245 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.598, allocations: 36.69 kB / 1.245 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.34e-05/1.598, allocations: 27.92 kB / 1.245 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/1.598, allocations: 31.83 kB / 1.245 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/1.603, allocations: 2.816 MB / 1.248 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/1.605, allocations: 418.3 kB / 1.249 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/1.605, allocations: 36 kB / 1.249 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.607, allocations: 39.83 kB / 1.249 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/1.608, allocations: 103.6 kB / 1.249 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.608, allocations: 56 kB / 1.249 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.7607/2.368, allocations: 1.295 MB / 1.25 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.333e-06/2.369, allocations: 1.031 kB / 1.25 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00418/2.373, allocations: 0.5067 MB / 1.251 GB, free: 263.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/2.384, allocations: 8.212 MB / 1.259 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00257/2.387, allocations: 0.8083 MB / 1.259 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/2.387, allocations: 9.219 kB / 1.259 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/2.388, allocations: 487.8 kB / 1.26 GB, free: 256.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/2.399, allocations: 1.262 MB / 1.261 GB, free: 256.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/2.435, allocations: 13.38 MB / 1.274 GB, free: 247.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/2.437, allocations: 1.439 MB / 1.276 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00298/2.44, allocations: 484.1 kB / 1.276 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/2.442, allocations: 0.6541 MB / 1.277 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/2.442, allocations: 0 / 1.277 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.156/2.598, allocations: 59.66 MB / 1.335 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/2.598, allocations: 219 kB / 1.335 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/6.889, allocations: 4 kB / 1.335 GB, free: 191.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat does not exist to compare? outputFormat=mat