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.0007302/0.0007303, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007863/0.0007863, allocations: 172.7 kB / 15.95 MB, free: 208 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.342/1.342, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.464/2.464, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003238, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6259, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2421/0.868, allocations: 232.3 MB / 1.208 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.8922, allocations: 19.44 MB / 1.227 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.8946, allocations: 75.31 kB / 1.227 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.8964, allocations: 0.5737 MB / 1.228 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.902, allocations: 2.246 MB / 1.23 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004805/0.9068, allocations: 1.883 MB / 1.232 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.9119, allocations: 4.326 MB / 1.236 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.9134, allocations: 0.888 MB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.9158, allocations: 1.245 MB / 1.238 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.917, allocations: 0.9996 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.9172, allocations: 48 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007383/0.9246, allocations: 3.278 MB / 1.242 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007852/0.9254, allocations: 0.5958 MB / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.926, allocations: 416.7 kB / 1.243 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.9302, allocations: 2.981 MB / 1.246 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9302, allocations: 0 / 1.246 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.989e-06/0.9302, allocations: 8 kB / 1.246 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.47e-05/0.9302, allocations: 0 / 1.246 GB, free: 6.254 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.002651/0.9329, allocations: 1.929 MB / 1.248 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.933, allocations: 8.031 kB / 1.248 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.9332, allocations: 194 kB / 1.248 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.9351, allocations: 481 kB / 1.249 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.9369, allocations: 1.202 MB / 1.25 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.937, allocations: 94.44 kB / 1.25 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9371, allocations: 124 kB / 1.25 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.9395, allocations: 1.708 MB / 1.252 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.9395, allocations: 7.938 kB / 1.252 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.9396, allocations: 63.97 kB / 1.252 GB, free: 208 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.977e-05/0.9397, allocations: 67.72 kB / 1.252 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5093/1.449, allocations: 1.202 MB / 1.253 GB, free: 268.7 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.008347/1.457, allocations: 7.557 MB / 1.26 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/1.458, allocations: 0.6618 MB / 1.261 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/1.459, allocations: 0.6175 MB / 1.262 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.46, allocations: 1.867 MB / 1.263 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.461, allocations: 53.44 kB / 1.263 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.276e-06/1.461, allocations: 0 / 1.263 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002589/1.463, allocations: 1.389 MB / 1.265 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/1.463, allocations: 297.9 kB / 1.265 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/1.467, allocations: 1.87 MB / 1.267 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/1.467, allocations: 43.48 kB / 1.267 GB, free: 258.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/1.467, allocations: 0.7303 MB / 1.268 GB, free: 258.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/1.467, allocations: 244.6 kB / 1.268 GB, free: 258.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/1.467, allocations: 14.22 kB / 1.268 GB, free: 258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/1.468, allocations: 330.8 kB / 1.268 GB, free: 257.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/1.468, allocations: 324 kB / 1.269 GB, free: 257.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/1.469, allocations: 0.5634 MB / 1.269 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/1.47, allocations: 400.4 kB / 1.269 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.47, allocations: 1.094 kB / 1.269 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001589/1.471, allocations: 1.008 MB / 1.27 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.471, allocations: 7.031 kB / 1.27 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.471, allocations: 4.062 kB / 1.27 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.471, allocations: 6.938 kB / 1.27 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/1.472, allocations: 135.5 kB / 1.271 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.472, allocations: 9.531 kB / 1.271 GB, free: 256.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/1.472, allocations: 128.5 kB / 1.271 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/1.473, allocations: 45.94 kB / 1.271 GB, free: 256.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005881/1.473, allocations: 461.8 kB / 1.271 GB, free: 256.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.474, allocations: 190.7 kB / 1.271 GB, free: 256.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.475, allocations: 1.076 MB / 1.272 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/1.475, allocations: 11 kB / 1.272 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.475, allocations: 6.703 kB / 1.272 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.475, allocations: 6.203 kB / 1.272 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/1.484, allocations: 8.79 MB / 1.281 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/1.484, allocations: 21.5 kB / 1.281 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/1.484, allocations: 143.1 kB / 1.281 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/1.484, allocations: 19.66 kB / 1.281 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/1.484, allocations: 38.33 kB / 1.281 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/1.484, allocations: 33.67 kB / 1.281 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/1.484, allocations: 26.03 kB / 1.281 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/1.486, allocations: 1.662 MB / 1.283 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/1.486, allocations: 414.3 kB / 1.283 GB, free: 248 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.486, allocations: 39.98 kB / 1.283 GB, free: 248 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/1.487, allocations: 47.45 kB / 1.283 GB, free: 247.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/1.487, allocations: 107.3 kB / 1.284 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/1.487, allocations: 55.95 kB / 1.284 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001332/1.489, allocations: 1.3 MB / 1.285 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.489, allocations: 0 / 1.285 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001433/1.49, allocations: 0.523 MB / 1.285 GB, free: 246 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.003098/1.493, allocations: 2.839 MB / 1.288 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009056/1.494, allocations: 0.8087 MB / 1.289 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.494, allocations: 0 / 1.289 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000468/1.495, allocations: 494 kB / 1.289 GB, free: 241.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/1.499, allocations: 1.274 MB / 1.291 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.514, allocations: 11.37 MB / 1.302 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/1.515, allocations: 1.413 MB / 1.303 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00142/1.516, allocations: 489.1 kB / 1.304 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/1.517, allocations: 0.6555 MB / 1.304 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.517, allocations: 0 / 1.304 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/1.588, allocations: 58.77 MB / 1.362 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/1.588, allocations: 219.8 kB / 1.362 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/4.603, allocations: 3.875 kB / 1.362 GB, free: 167.3 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