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.000821/0.000821, allocations: 91.77 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.0008913/0.0008912, 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.351/1.351, allocations: 223.2 MB / 240 MB, free: 5.441 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.398/2.398, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 15.98 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6909, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2119/0.9028, allocations: 195.7 MB / 1.145 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01501/0.9179, allocations: 11.46 MB / 1.156 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.9195, allocations: 47.62 kB / 1.156 GB, free: 472 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.921, allocations: 361.2 kB / 1.156 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.9252, allocations: 1.411 MB / 1.158 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.9291, allocations: 1.287 MB / 1.159 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.9323, allocations: 2.644 MB / 1.162 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.9339, allocations: 0.8534 MB / 1.163 GB, free: 9.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.9355, allocations: 0.7001 MB / 1.163 GB, free: 9.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.9367, allocations: 0.6497 MB / 1.164 GB, free: 8.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.9369, allocations: 39.94 kB / 1.164 GB, free: 8.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.942, allocations: 2.157 MB / 1.166 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.9427, allocations: 498.6 kB / 1.166 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006616/0.9433, allocations: 305 kB / 1.167 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.9467, allocations: 2.241 MB / 1.169 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9467, allocations: 0 / 1.169 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9467, allocations: 4 kB / 1.169 GB, free: 3.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.133e-05/0.9468, allocations: 0 / 1.169 GB, free: 3.289 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.002641/0.9494, allocations: 1.456 MB / 1.17 GB, free: 1.777 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9495, allocations: 8.031 kB / 1.17 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003824/0.9499, allocations: 168.6 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.9517, allocations: 369.8 kB / 1.171 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.9532, allocations: 0.8573 MB / 1.172 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.9533, allocations: 78.02 kB / 1.172 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.9535, allocations: 100 kB / 1.172 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.9562, allocations: 1.505 MB / 1.173 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.9562, allocations: 4 kB / 1.173 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.9563, allocations: 48 kB / 1.173 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/0.9564, allocations: 57.55 kB / 1.173 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.958, allocations: 1.013 MB / 1.174 GB, free: 13.41 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.00701/0.965, allocations: 5.883 MB / 1.18 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.9656, allocations: 314.2 kB / 1.181 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.966, allocations: 243.4 kB / 1.181 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007121/0.9667, allocations: 0.712 MB / 1.181 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.9667, allocations: 46.48 kB / 1.181 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.9667, allocations: 0 / 1.181 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001526/0.9683, allocations: 0.6675 MB / 1.182 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.9684, allocations: 140.4 kB / 1.182 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.9707, allocations: 1.642 MB / 1.184 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.9708, allocations: 29.7 kB / 1.184 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/0.9714, allocations: 0.5463 MB / 1.184 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.9715, allocations: 94.66 kB / 1.185 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.9715, allocations: 7.938 kB / 1.185 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9716, allocations: 326 kB / 1.185 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.9718, allocations: 163.9 kB / 1.185 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.9722, allocations: 278.2 kB / 1.185 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.9725, allocations: 211.8 kB / 1.185 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9725, allocations: 0 / 1.185 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008612/0.9734, allocations: 0.5542 MB / 1.186 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9734, allocations: 11.98 kB / 1.186 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9734, allocations: 4 kB / 1.186 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9735, allocations: 4 kB / 1.186 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.9737, allocations: 51.92 kB / 1.186 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.9737, allocations: 4 kB / 1.186 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.9743, allocations: 118.7 kB / 1.186 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.9744, allocations: 23.94 kB / 1.186 GB, free: 0.75 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.0004932/0.9749, allocations: 385.5 kB / 1.187 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.9752, allocations: 138.2 kB / 1.187 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.9759, allocations: 381.8 kB / 1.187 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9759, allocations: 8 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9759, allocations: 4 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9759, allocations: 3.984 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.9798, allocations: 2.547 MB / 1.19 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9798, allocations: 4 kB / 1.19 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.98, allocations: 51.91 kB / 1.19 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.98, allocations: 8 kB / 1.19 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.98, allocations: 16.06 kB / 1.19 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.9801, allocations: 11.94 kB / 1.19 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.9801, allocations: 8 kB / 1.19 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.9808, allocations: 0.6232 MB / 1.19 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.9814, allocations: 299.3 kB / 1.191 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.9816, allocations: 19.98 kB / 1.191 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.982, allocations: 15.94 kB / 1.191 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.9821, allocations: 39.83 kB / 1.191 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.9821, allocations: 23.98 kB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001663/0.9838, allocations: 1.171 MB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9838, allocations: 7.938 kB / 1.192 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001092/0.9849, allocations: 331.8 kB / 1.192 GB, free: 10.36 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.002525/0.9874, allocations: 1.557 MB / 1.194 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.9881, allocations: 344.6 kB / 1.194 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9881, allocations: 4 kB / 1.194 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.9883, allocations: 161.7 kB / 1.194 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/0.9919, allocations: 0.8531 MB / 1.195 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.007, allocations: 7.965 MB / 1.203 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.008, allocations: 1.205 MB / 1.204 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001428/1.009, allocations: 298.4 kB / 1.204 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.01, allocations: 451.3 kB / 1.205 GB, free: 13 MB / 0.9669 GB Notification: Performance of SimCode: time 1.513e-06/1.01, allocations: 3.938 kB / 1.205 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07001/1.08, allocations: 40.71 MB / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.08, allocations: 232.6 kB / 1.245 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.737, allocations: 0 / 1.245 GB, free: 4.543 MB / 0.9981 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