Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001318/0.001318, allocations: 180.8 kB / 487.4 MB, free: 5.023 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 99.84 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.934e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.722, allocations: 448 MB / 1.644 GB, free: 6.445 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/1.722, allocations: 92.58 kB / 1.644 GB, free: 6.398 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.483/6.205, allocations: 0.9956 GB / 2.639 GB, free: 206.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.589e-06/6.205, allocations: 0 / 2.639 GB, free: 206.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005785/6.206, allocations: 53.3 kB / 2.639 GB, free: 206.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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.008299/6.214, allocations: 2.089 MB / 2.641 GB, free: 206 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/6.214, allocations: 15.64 kB / 2.641 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005706/6.22, allocations: 0.8144 MB / 2.642 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02596/6.246, allocations: 9.062 MB / 2.651 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/6.246, allocations: 37.22 kB / 2.651 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/6.247, allocations: 75.17 kB / 2.651 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003493/6.251, allocations: 0.9491 MB / 2.652 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/6.255, allocations: 1.228 MB / 2.653 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-05/6.255, allocations: 2.281 kB / 2.653 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/6.255, allocations: 2.812 kB / 2.653 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/6.255, allocations: 55.48 kB / 2.653 GB, free: 205 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.01503/6.27, allocations: 8.192 MB / 2.661 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/6.273, allocations: 0.9478 MB / 2.662 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/6.274, allocations: 388.3 kB / 2.663 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005273/6.279, allocations: 2.941 MB / 2.665 GB, free: 198.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005916/6.28, allocations: 424.9 kB / 2.666 GB, free: 198.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001059/6.281, allocations: 159.2 kB / 2.666 GB, free: 198.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 4.117e-06/6.281, allocations: 3.938 kB / 2.666 GB, free: 198.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001879/6.283, allocations: 0.8387 MB / 2.667 GB, free: 198.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/6.283, allocations: 70.28 kB / 2.667 GB, free: 198.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/6.284, allocations: 1.15 MB / 2.668 GB, free: 198.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/6.284, allocations: 31.36 kB / 2.668 GB, free: 198.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/6.285, allocations: 0.8872 MB / 2.669 GB, free: 197.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/6.285, allocations: 230.8 kB / 2.669 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/6.285, allocations: 0 / 2.669 GB, free: 197.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/6.286, allocations: 344.6 kB / 2.669 GB, free: 197.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/6.286, allocations: 314.1 kB / 2.67 GB, free: 197.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/6.287, allocations: 0.7415 MB / 2.67 GB, free: 196.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/6.288, allocations: 493.5 kB / 2.671 GB, free: 196.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/6.288, allocations: 3.938 kB / 2.671 GB, free: 196.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00244/6.29, allocations: 1.183 MB / 2.672 GB, free: 196.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/6.292, allocations: 5.073 MB / 2.677 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/6.292, allocations: 14.5 kB / 2.677 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/6.292, allocations: 19.81 kB / 2.677 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/6.293, allocations: 308.4 kB / 2.677 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/6.293, allocations: 24.77 kB / 2.677 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/6.295, allocations: 139.2 kB / 2.678 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/6.295, allocations: 62 kB / 2.678 GB, free: 191.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/6.295, allocations: 2.312 kB / 2.678 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002225/6.297, allocations: 0.9809 MB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/6.297, allocations: 14 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/6.297, allocations: 22.95 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/6.299, allocations: 295.8 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/6.299, allocations: 32.73 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/6.301, allocations: 143 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/6.301, allocations: 63.59 kB / 2.679 GB, free: 191.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.0003033/6.301, allocations: 142.5 kB / 2.679 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002179/6.303, allocations: 0.7995 MB / 2.68 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/6.304, allocations: 171.3 kB / 2.68 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/6.306, allocations: 1.061 MB / 2.681 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/6.306, allocations: 10.77 kB / 2.681 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/6.306, allocations: 3.406 kB / 2.681 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/6.308, allocations: 0.965 MB / 2.682 GB, free: 190.6 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 postOpt removeSimpleEquations (simulation): time 0.006705/6.315, allocations: 2.37 MB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/6.315, allocations: 1.281 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/6.316, allocations: 183.4 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/6.316, allocations: 3.438 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-05/6.316, allocations: 18.75 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/6.316, allocations: 6.688 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/6.316, allocations: 1.531 kB / 2.685 GB, free: 190.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/6.319, allocations: 1.507 MB / 2.686 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/6.32, allocations: 342.4 kB / 2.687 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005571/6.321, allocations: 11.11 kB / 2.687 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/6.322, allocations: 130.1 kB / 2.687 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/6.322, allocations: 60.86 kB / 2.687 GB, free: 189.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/6.322, allocations: 39.36 kB / 2.687 GB, free: 189.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002031/6.324, allocations: 0.8591 MB / 2.688 GB, free: 189.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/6.325, allocations: 0 / 2.688 GB, free: 189.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005726/6.33, allocations: 0.9897 MB / 2.689 GB, free: 189.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.006705/6.337, allocations: 3.204 MB / 2.692 GB, free: 188.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003967/6.341, allocations: 1.499 MB / 2.693 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/6.341, allocations: 7.312 kB / 2.693 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/6.342, allocations: 406.8 kB / 2.694 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/6.347, allocations: 0.6742 MB / 2.694 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/6.359, allocations: 3.076 MB / 2.697 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/6.361, allocations: 1.399 MB / 2.699 GB, free: 186.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004348/6.365, allocations: 0.5858 MB / 2.699 GB, free: 186.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/6.366, allocations: 0.7058 MB / 2.7 GB, free: 186.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.954e-06/6.366, allocations: 0 / 2.7 GB, free: 186.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/6.47, allocations: 50.04 MB / 2.749 GB, free: 185.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/6.47, allocations: 211.1 kB / 2.749 GB, free: 185.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/10.26, allocations: 0 / 2.749 GB, free: 185.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat does not exist to compare? outputFormat=mat