Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",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.335/2.335, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.00117/0.00117, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001016/0.001016, allocations: 103.9 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.319e-05/4.352e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3607, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.635/2.996, allocations: 0.4985 GB / 1.717 GB, free: 327.5 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/2.996, allocations: 106.9 kB / 1.717 GB, free: 327.5 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 31.4/34.39, allocations: 6.731 GB / 8.449 GB, free: 72.46 MB / 1.51 GB Notification: Performance of FrontEnd: time 2.645e-06/34.39, allocations: 0 / 8.449 GB, free: 72.46 MB / 1.51 GB Notification: Performance of Transformations before backend: time 0.003725/34.4, allocations: 353.2 kB / 8.449 GB, free: 72.41 MB / 1.51 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.04745/34.45, allocations: 12.45 MB / 8.461 GB, free: 66.85 MB / 1.51 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/34.45, allocations: 12.53 kB / 8.461 GB, free: 66.85 MB / 1.51 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005732/34.45, allocations: 0.9402 MB / 8.462 GB, free: 66.77 MB / 1.51 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/34.47, allocations: 3.409 MB / 8.466 GB, free: 65.86 MB / 1.51 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0566/34.53, allocations: 18.89 MB / 8.484 GB, free: 63.57 MB / 1.51 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00273/34.53, allocations: 1.035 MB / 8.485 GB, free: 63.41 MB / 1.51 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004914/34.54, allocations: 0.8003 MB / 8.486 GB, free: 63.4 MB / 1.51 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/34.57, allocations: 10.26 MB / 8.496 GB, free: 62.66 MB / 1.51 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005848/34.57, allocations: 17.97 kB / 8.496 GB, free: 62.66 MB / 1.51 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003911/34.58, allocations: 295.6 kB / 8.496 GB, free: 62.66 MB / 1.51 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/34.58, allocations: 203.5 kB / 8.496 GB, free: 62.65 MB / 1.51 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/34.61, allocations: 10.11 MB / 8.506 GB, free: 62.55 MB / 1.51 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.114/34.72, allocations: 59.28 MB / 8.564 GB, free: 36.87 MB / 1.51 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/34.73, allocations: 6.783 MB / 8.571 GB, free: 35.71 MB / 1.51 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006916/34.74, allocations: 3.516 MB / 8.574 GB, free: 35.67 MB / 1.51 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00284/34.74, allocations: 3.274 MB / 8.577 GB, free: 32.1 MB / 1.51 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009657/34.75, allocations: 3.708 MB / 8.581 GB, free: 31.95 MB / 1.51 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01442/34.77, allocations: 2.077 MB / 8.583 GB, free: 31.54 MB / 1.51 GB Notification: Performance of pre-optimization done (n=403): time 2.875e-05/34.77, allocations: 0 / 8.583 GB, free: 31.54 MB / 1.51 GB Notification: Performance of matching and sorting (n=403): time 0.02211/34.79, allocations: 7.444 MB / 8.59 GB, free: 30.66 MB / 1.51 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/34.79, allocations: 220.4 kB / 8.59 GB, free: 30.44 MB / 1.51 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.039/34.83, allocations: 12.07 MB / 8.602 GB, free: 29.38 MB / 1.51 GB Notification: Performance of collectPreVariables (initialization): time 0.003217/34.83, allocations: 144.1 kB / 8.602 GB, free: 29.27 MB / 1.51 GB Notification: Performance of collectInitialEqns (initialization): time 0.013/34.85, allocations: 6.288 MB / 8.609 GB, free: 24.33 MB / 1.51 GB Notification: Performance of collectInitialBindings (initialization): time 0.003087/34.85, allocations: 1.382 MB / 8.61 GB, free: 23.25 MB / 1.51 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/34.85, allocations: 115.5 kB / 8.61 GB, free: 23.16 MB / 1.51 GB Notification: Performance of setup shared object (initialization): time 0.0007163/34.85, allocations: 0.5187 MB / 8.61 GB, free: 22.76 MB / 1.51 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00786/34.86, allocations: 3.477 MB / 8.614 GB, free: 21.34 MB / 1.51 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/34.87, allocations: 5.644 MB / 8.619 GB, free: 17.29 MB / 1.51 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008902/34.88, allocations: 3.957 MB / 8.623 GB, free: 15.62 MB / 1.51 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.268e-05/34.88, allocations: 18.02 kB / 8.623 GB, free: 15.62 MB / 1.51 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.02837/34.91, allocations: 10.14 MB / 8.633 GB, free: 11.5 MB / 1.51 GB Notification: Performance of prepare postOptimizeDAE: time 0.0112/34.92, allocations: 25.35 MB / 8.658 GB, free: 0.8828 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/34.92, allocations: 39.03 kB / 8.658 GB, free: 0.8828 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/34.92, allocations: 0.8683 MB / 8.659 GB, free: 0.6641 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009448/34.93, allocations: 1.71 MB / 8.66 GB, free: 0.5195 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/34.94, allocations: 4.819 MB / 8.665 GB, free: 12.49 MB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/34.96, allocations: 1.319 MB / 8.666 GB, free: 12.23 MB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/34.96, allocations: 324.4 kB / 8.667 GB, free: 12.18 MB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/34.96, allocations: 3.75 kB / 8.667 GB, free: 12.18 MB / 1.542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02273/34.98, allocations: 8.937 MB / 8.676 GB, free: 8.699 MB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/34.98, allocations: 38.34 kB / 8.676 GB, free: 8.699 MB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/34.98, allocations: 434.9 kB / 8.676 GB, free: 8.598 MB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008965/34.99, allocations: 1.719 MB / 8.678 GB, free: 8.449 MB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/35, allocations: 5.652 MB / 8.683 GB, free: 4.207 MB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01971/35.02, allocations: 1.302 MB / 8.684 GB, free: 3.965 MB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003736/35.03, allocations: 317.9 kB / 8.685 GB, free: 3.918 MB / 1.542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (678): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 21,6 21} Notification: Performance of prepare postOptimizeDAE: time 0.006135/35.03, allocations: 499.2 kB / 8.685 GB, free: 3.512 MB / 1.542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00654/35.04, allocations: 1.238 MB / 8.686 GB, free: 2.84 MB / 1.542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02789/35.07, allocations: 8.867 MB / 8.695 GB, free: 15.71 MB / 1.557 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.941e-05/35.07, allocations: 58.42 kB / 8.695 GB, free: 15.66 MB / 1.557 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/35.07, allocations: 4 kB / 8.695 GB, free: 15.66 MB / 1.557 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01493/35.08, allocations: 6.509 MB / 8.702 GB, free: 9.906 MB / 1.557 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.06501/35.15, allocations: 21.5 MB / 8.723 GB, free: 8.766 MB / 1.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/35.15, allocations: 4 kB / 8.723 GB, free: 8.762 MB / 1.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006517/35.15, allocations: 1.148 MB / 8.724 GB, free: 7.867 MB / 1.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/35.16, allocations: 0.7722 MB / 8.724 GB, free: 7.215 MB / 1.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/35.16, allocations: 132.6 kB / 8.725 GB, free: 7.109 MB / 1.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/35.16, allocations: 4.667 MB / 8.729 GB, free: 2.438 MB / 1.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/35.16, allocations: 4 kB / 8.729 GB, free: 2.434 MB / 1.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.355/36.52, allocations: 13.13 MB / 8.742 GB, free: 159.2 MB / 1.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01086/36.53, allocations: 2.944 MB / 8.745 GB, free: 158.6 MB / 1.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005165/36.53, allocations: 93.17 kB / 8.745 GB, free: 158.6 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01394/36.55, allocations: 1.085 MB / 8.746 GB, free: 158.6 MB / 1.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/36.55, allocations: 285.8 kB / 8.746 GB, free: 158.6 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001391/36.55, allocations: 209.9 kB / 8.746 GB, free: 158.6 MB / 1.573 GB Notification: Performance of sorting global known variables: time 0.03033/36.58, allocations: 9.259 MB / 8.755 GB, free: 158.2 MB / 1.573 GB Notification: Performance of sort global known variables: time 6.11e-07/36.58, allocations: 2.625 kB / 8.755 GB, free: 158.2 MB / 1.573 GB Notification: Performance of remove unused functions: time 0.0435/36.62, allocations: 6.509 MB / 8.762 GB, free: 158 MB / 1.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.senTem.T,intWSEPri1.jun3.vol.dynBal.U,intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.senTem.T,intWSEPri2.jun3.vol.dynBal.U,TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (416): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 23,5 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0479/36.67, allocations: 21.11 MB / 8.782 GB, free: 152 MB / 1.573 GB Notification: Performance of simCode: created initialization part: time 0.03387/36.71, allocations: 13.68 MB / 8.796 GB, free: 151.5 MB / 1.573 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/36.71, allocations: 2.062 kB / 8.796 GB, free: 151.5 MB / 1.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008632/36.72, allocations: 3.645 MB / 8.799 GB, free: 151.4 MB / 1.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04636/36.76, allocations: 7.143 MB / 8.806 GB, free: 151.3 MB / 1.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0893/36.85, allocations: 23.75 MB / 8.829 GB, free: 146.8 MB / 1.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01483/36.87, allocations: 7.125 MB / 8.836 GB, free: 145.8 MB / 1.573 GB Notification: Performance of simCode: alias equations: time 0.03438/36.9, allocations: 5.323 MB / 8.842 GB, free: 145.7 MB / 1.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01471/36.91, allocations: 5.833 MB / 8.847 GB, free: 145.7 MB / 1.573 GB Notification: Performance of SimCode: time 1.313e-06/36.91, allocations: 3.062 kB / 8.847 GB, free: 145.7 MB / 1.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6855/37.6, allocations: 442.3 MB / 9.279 GB, free: 4.051 MB / 1.604 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/37.6, allocations: 283.7 kB / 9.28 GB, free: 3.719 MB / 1.604 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.52/66.12, allocations: 0 / 9.28 GB, free: 3.719 MB / 1.604 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide_res.mat does not exist to compare? outputFormat=mat