Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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: 100 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.0015/0.0015, 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.29/1.29, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6909, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1896/0.8806, allocations: 171.4 MB / 1.121 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.894, allocations: 10.57 MB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.8956, allocations: 47.56 kB / 1.131 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.8976, allocations: 0.6065 MB / 1.132 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005014/0.9027, allocations: 1.453 MB / 1.133 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.9075, allocations: 1.666 MB / 1.135 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002415/0.9099, allocations: 1.356 MB / 1.136 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.9112, allocations: 0.8965 MB / 1.137 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.9123, allocations: 0.6189 MB / 1.138 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.9129, allocations: 438 kB / 1.138 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.913, allocations: 40 kB / 1.138 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.9169, allocations: 1.681 MB / 1.14 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.9174, allocations: 458.8 kB / 1.14 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.9177, allocations: 305 kB / 1.141 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.9202, allocations: 2.074 MB / 1.143 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.9202, allocations: 0 / 1.143 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.729e-06/0.9202, allocations: 4 kB / 1.143 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.9203, allocations: 3.938 kB / 1.143 GB, free: 14.08 MB / 0.9044 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.001848/0.9221, allocations: 1.433 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9222, allocations: 12.03 kB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.9223, allocations: 164.6 kB / 1.144 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.9239, allocations: 369.8 kB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.9253, allocations: 0.8574 MB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.9253, allocations: 77.97 kB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.9255, allocations: 100 kB / 1.146 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.9274, allocations: 1.497 MB / 1.147 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.9274, allocations: 7.938 kB / 1.147 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.9275, allocations: 59.92 kB / 1.147 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.9276, allocations: 57.55 kB / 1.147 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9289, allocations: 1.005 MB / 1.148 GB, free: 8.227 MB / 0.9044 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.005799/0.9347, allocations: 5.805 MB / 1.154 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.9352, allocations: 310.2 kB / 1.154 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.9356, allocations: 376.7 kB / 1.154 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.9356, allocations: 38.56 kB / 1.155 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.9356, allocations: 0 / 1.155 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001259/0.9369, allocations: 0.6635 MB / 1.155 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.937, allocations: 128.7 kB / 1.155 GB, free: 464 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.9389, allocations: 1.658 MB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.9389, allocations: 33.7 kB / 1.157 GB, free: 14.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.9394, allocations: 0.5502 MB / 1.157 GB, free: 14.19 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.9395, allocations: 94.59 kB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.9395, allocations: 4 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9396, allocations: 321.9 kB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.9398, allocations: 159.9 kB / 1.158 GB, free: 13.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.9401, allocations: 282.2 kB / 1.158 GB, free: 13.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.9404, allocations: 203.8 kB / 1.158 GB, free: 13.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9404, allocations: 0 / 1.158 GB, free: 13.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007259/0.9411, allocations: 0.5589 MB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9412, allocations: 4 kB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9412, allocations: 8 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.9412, allocations: 4 kB / 1.159 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.9415, allocations: 60.16 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.9415, allocations: 8 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.942, allocations: 110.5 kB / 1.159 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.9421, allocations: 23.98 kB / 1.159 GB, free: 12.32 MB / 0.92 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.0004452/0.9426, allocations: 377.6 kB / 1.16 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.9428, allocations: 134.3 kB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.9433, allocations: 397 kB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9433, allocations: 4 kB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9433, allocations: 3.938 kB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9433, allocations: 0 / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.9465, allocations: 2.497 MB / 1.163 GB, free: 8.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9466, allocations: 4 kB / 1.163 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.9468, allocations: 55.84 kB / 1.163 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.9468, allocations: 8 kB / 1.163 GB, free: 8.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.9468, allocations: 12 kB / 1.163 GB, free: 8.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.9468, allocations: 8 kB / 1.163 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.9468, allocations: 11.94 kB / 1.163 GB, free: 8.621 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.9477, allocations: 1.004 MB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.9482, allocations: 295.3 kB / 1.164 GB, free: 7.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.9483, allocations: 19.95 kB / 1.164 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.9488, allocations: 19.92 kB / 1.164 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.9488, allocations: 35.88 kB / 1.164 GB, free: 6.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.9489, allocations: 16 kB / 1.164 GB, free: 6.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001654/0.9505, allocations: 1.179 MB / 1.165 GB, free: 5.777 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9506, allocations: 0 / 1.165 GB, free: 5.777 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009413/0.9515, allocations: 327.8 kB / 1.165 GB, free: 5.457 MB / 0.92 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.002809/0.9543, allocations: 3.56 MB / 1.169 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.9549, allocations: 345 kB / 1.169 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9549, allocations: 4 kB / 1.169 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.9551, allocations: 153.2 kB / 1.169 GB, free: 1.219 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/0.9587, allocations: 0.8589 MB / 1.17 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.9738, allocations: 9.411 MB / 1.179 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008784/0.9747, allocations: 1.228 MB / 1.181 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001128/0.9758, allocations: 282.5 kB / 1.181 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.9763, allocations: 459.3 kB / 1.181 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of SimCode: time 8.21e-07/0.9764, allocations: 0 / 1.181 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/1.042, allocations: 41.24 MB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.042, allocations: 231.2 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.595, allocations: 3.938 kB / 1.222 GB, free: 11.49 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat does not exist to compare? outputFormat=mat