Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.00127/0.00127, allocations: 98.83 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.001532/0.001532, 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 2.342/2.342, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.298/4.298, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005412, allocations: 12 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9201, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2656/1.186, allocations: 171.4 MB / 1.148 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01244/1.198, allocations: 10.58 MB / 1.159 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/1.199, allocations: 39.62 kB / 1.159 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/1.201, allocations: 0.6142 MB / 1.159 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003803/1.205, allocations: 1.449 MB / 1.161 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/1.209, allocations: 1.67 MB / 1.162 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001993/1.211, allocations: 1.352 MB / 1.164 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.212, allocations: 0.9004 MB / 1.164 GB, free: 9.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009101/1.213, allocations: 0.6189 MB / 1.165 GB, free: 9.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004621/1.214, allocations: 434.1 kB / 1.165 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/1.214, allocations: 40 kB / 1.166 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/1.217, allocations: 1.681 MB / 1.167 GB, free: 7.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003823/1.218, allocations: 458.8 kB / 1.168 GB, free: 6.617 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/1.218, allocations: 305 kB / 1.168 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/1.22, allocations: 2.074 MB / 1.17 GB, free: 4.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/1.22, allocations: 0 / 1.17 GB, free: 4.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/1.22, allocations: 0 / 1.17 GB, free: 4.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.22, allocations: 0 / 1.17 GB, free: 4.234 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001801/1.222, allocations: 1.441 MB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.222, allocations: 12.56 kB / 1.171 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/1.222, allocations: 164.6 kB / 1.172 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.224, allocations: 373.8 kB / 1.172 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.225, allocations: 0.8534 MB / 1.173 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/1.225, allocations: 77.98 kB / 1.173 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.225, allocations: 100 kB / 1.173 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.227, allocations: 1.493 MB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.227, allocations: 11.94 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/1.227, allocations: 44 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/1.227, allocations: 65.48 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/1.229, allocations: 1.001 MB / 1.175 GB, free: 14.4 MB / 0.9356 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.005393/1.234, allocations: 5.817 MB / 1.181 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/1.235, allocations: 306.2 kB / 1.181 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/1.235, allocations: 372.7 kB / 1.182 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.235, allocations: 46.5 kB / 1.182 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/1.235, allocations: 0 / 1.182 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001174/1.236, allocations: 0.6676 MB / 1.182 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.236, allocations: 136.5 kB / 1.183 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.238, allocations: 1.65 MB / 1.184 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/1.238, allocations: 33.7 kB / 1.184 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/1.239, allocations: 0.5502 MB / 1.185 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/1.239, allocations: 90.66 kB / 1.185 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/1.239, allocations: 4 kB / 1.185 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/1.239, allocations: 318 kB / 1.185 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/1.239, allocations: 159.9 kB / 1.185 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/1.239, allocations: 294.1 kB / 1.186 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/1.24, allocations: 199.9 kB / 1.186 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.24, allocations: 0 / 1.186 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006766/1.24, allocations: 0.5619 MB / 1.186 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.24, allocations: 4 kB / 1.186 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.24, allocations: 4 kB / 1.186 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.24, allocations: 4.25 kB / 1.186 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/1.24, allocations: 63.92 kB / 1.186 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.241, allocations: 11.92 kB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/1.241, allocations: 106.5 kB / 1.187 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.241, allocations: 23.98 kB / 1.187 GB, free: 2.473 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004035/1.241, allocations: 373.6 kB / 1.187 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/1.242, allocations: 142.2 kB / 1.187 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/1.242, allocations: 385.4 kB / 1.187 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.242, allocations: 4 kB / 1.187 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.242, allocations: 0 / 1.187 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.242, allocations: 7.875 kB / 1.187 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/1.245, allocations: 2.497 MB / 1.19 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.245, allocations: 8 kB / 1.19 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/1.245, allocations: 47.91 kB / 1.19 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.245, allocations: 8 kB / 1.19 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/1.245, allocations: 19.98 kB / 1.19 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/1.246, allocations: 15.89 kB / 1.19 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.246, allocations: 4.531 kB / 1.19 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/1.246, allocations: 0.9989 MB / 1.191 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/1.247, allocations: 299.3 kB / 1.191 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.247, allocations: 12.06 kB / 1.191 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/1.247, allocations: 23.84 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/1.247, allocations: 39.86 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.247, allocations: 20 kB / 1.191 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001303/1.249, allocations: 1.175 MB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.342e-06/1.249, allocations: 4 kB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008643/1.25, allocations: 327.7 kB / 1.193 GB, free: 11.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002506/1.252, allocations: 3.551 MB / 1.196 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004861/1.253, allocations: 347.5 kB / 1.197 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.253, allocations: 4 kB / 1.197 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/1.253, allocations: 153.2 kB / 1.197 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.256, allocations: 0.8443 MB / 1.198 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.267, allocations: 9.423 MB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/1.268, allocations: 1.22 MB / 1.208 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009054/1.269, allocations: 302.4 kB / 1.208 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.27, allocations: 451.3 kB / 1.209 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of SimCode: time 1.913e-06/1.27, allocations: 0 / 1.209 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1902/1.46, allocations: 41.25 MB / 1.249 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003662/1.46, allocations: 225 kB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/4.081, allocations: 0 / 1.249 GB, free: 1.613 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat does not exist to compare? outputFormat=mat