Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.346/2.346, allocations: 390.5 MB / 398 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 178.5 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.69 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.069e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3119, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.632, allocations: 434.7 MB / 1.637 GB, free: 12.23 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.632, allocations: 92.34 kB / 1.637 GB, free: 12.18 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.895/6.527, allocations: 1.063 GB / 2.7 GB, free: 250.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/6.527, allocations: 0 / 2.7 GB, free: 250.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002737/6.528, allocations: 33.42 kB / 2.7 GB, free: 250.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005591/6.533, allocations: 1.489 MB / 2.702 GB, free: 249.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/6.533, allocations: 10.19 kB / 2.702 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/6.536, allocations: 350.8 kB / 2.702 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/6.541, allocations: 1.256 MB / 2.703 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/6.541, allocations: 97.22 kB / 2.703 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/6.542, allocations: 55.02 kB / 2.703 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002178/6.544, allocations: 0.6054 MB / 2.704 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/6.546, allocations: 0.7471 MB / 2.705 GB, free: 249.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/6.546, allocations: 3.875 kB / 2.705 GB, free: 249.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/6.546, allocations: 3.953 kB / 2.705 GB, free: 249.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/6.546, allocations: 38.2 kB / 2.705 GB, free: 249.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009427/6.556, allocations: 4.455 MB / 2.709 GB, free: 247 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/6.557, allocations: 435.2 kB / 2.71 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/6.558, allocations: 187.8 kB / 2.71 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/6.559, allocations: 1.368 MB / 2.711 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/6.559, allocations: 42.72 kB / 2.711 GB, free: 245.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 4.889e-06/6.559, allocations: 0 / 2.711 GB, free: 245.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.01088/6.57, allocations: 1.512 MB / 2.713 GB, free: 245.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/6.57, allocations: 65.73 kB / 2.713 GB, free: 245.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/6.572, allocations: 0.7467 MB / 2.713 GB, free: 245.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/6.573, allocations: 25.7 kB / 2.713 GB, free: 245.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006301/6.573, allocations: 0.5383 MB / 2.714 GB, free: 244.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/6.573, allocations: 147.5 kB / 2.714 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/6.573, allocations: 0 / 2.714 GB, free: 244.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/6.574, allocations: 322.9 kB / 2.714 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/6.574, allocations: 165.5 kB / 2.715 GB, free: 244.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/6.575, allocations: 402.4 kB / 2.715 GB, free: 244.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/6.582, allocations: 1.016 MB / 2.716 GB, free: 244.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/6.582, allocations: 2.938 kB / 2.716 GB, free: 244.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00975/6.592, allocations: 1.451 MB / 2.717 GB, free: 244.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004499/6.593, allocations: 1.49 MB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/6.593, allocations: 3.812 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/6.594, allocations: 229.3 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/6.595, allocations: 105.3 kB / 2.719 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/6.596, allocations: 0.8728 MB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/6.598, allocations: 159.1 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/6.598, allocations: 33.3 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/6.599, allocations: 6.031 kB / 2.72 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008422/6.607, allocations: 1.317 MB / 2.721 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/6.607, allocations: 3.312 kB / 2.721 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/6.608, allocations: 232.8 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/6.609, allocations: 112.1 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/6.61, allocations: 0.8632 MB / 2.723 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/6.612, allocations: 129.9 kB / 2.723 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/6.612, allocations: 32.56 kB / 2.723 GB, free: 241.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003663/6.612, allocations: 114 kB / 2.723 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01035/6.623, allocations: 1.507 MB / 2.724 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/6.623, allocations: 95.53 kB / 2.724 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/6.634, allocations: 1.685 MB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/6.634, allocations: 9.812 kB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/6.634, allocations: 0 / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/6.634, allocations: 3.422 kB / 2.726 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/6.648, allocations: 2.597 MB / 2.729 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/6.648, allocations: 0 / 2.729 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/6.648, allocations: 56.34 kB / 2.729 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009434/6.649, allocations: 250.1 kB / 2.729 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.837e-05/6.649, allocations: 11.16 kB / 2.729 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/6.651, allocations: 0.9014 MB / 2.73 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/6.651, allocations: 0 / 2.73 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/6.661, allocations: 1.861 MB / 2.732 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/6.663, allocations: 271.5 kB / 2.732 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/6.663, allocations: 3.938 kB / 2.732 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/6.664, allocations: 89.67 kB / 2.732 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/6.665, allocations: 34.92 kB / 2.732 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/6.665, allocations: 22.91 kB / 2.732 GB, free: 239.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001681/6.666, allocations: 0.5707 MB / 2.733 GB, free: 239.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/6.666, allocations: 0 / 2.733 GB, free: 239.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00387/6.67, allocations: 0.6244 MB / 2.733 GB, free: 239.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0133/6.684, allocations: 3.553 MB / 2.737 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002619/6.686, allocations: 0.7718 MB / 2.737 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/6.686, allocations: 0 / 2.737 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007676/6.687, allocations: 250.5 kB / 2.738 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/6.691, allocations: 391.2 kB / 2.738 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/6.697, allocations: 1.539 MB / 2.74 GB, free: 237.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009849/6.698, allocations: 1.082 MB / 2.741 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002304/6.701, allocations: 242.8 kB / 2.741 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/6.701, allocations: 380.7 kB / 2.741 GB, free: 236.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/6.701, allocations: 0 / 2.741 GB, free: 236.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08169/6.783, allocations: 32.39 MB / 2.773 GB, free: 235.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/6.783, allocations: 186.7 kB / 2.773 GB, free: 235.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/10.1, allocations: 0 / 2.773 GB, free: 235.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat does not exist to compare? outputFormat=mat