Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.002046/0.002047, allocations: 99.7 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.002524/0.002524, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.912/2.912, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.062/5.062, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008707/0.0008709, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853/1.854, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 5.813/7.667, allocations: 1.14 GB / 2.121 GB, free: 7.203 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 3.117/10.78, allocations: 286.3 MB / 2.401 GB, free: 53.5 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1039/10.89, allocations: 1.02 MB / 2.402 GB, free: 53.5 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.1122/11, allocations: 13.61 MB / 2.415 GB, free: 53.48 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.2739/11.27, allocations: 34.31 MB / 2.448 GB, free: 53.1 MB / 1.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.1624/11.44, allocations: 26.17 MB / 2.474 GB, free: 52.24 MB / 1.451 GB Notification: Performance of NFFlatten.flatten: time 0.1656/11.6, allocations: 31.32 MB / 2.505 GB, free: 49.59 MB / 1.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07671/11.68, allocations: 14.75 MB / 2.519 GB, free: 44.51 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08892/11.77, allocations: 17.54 MB / 2.536 GB, free: 42.14 MB / 1.451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06142/11.83, allocations: 13.96 MB / 2.55 GB, free: 40.35 MB / 1.451 GB Notification: Performance of NFPackage.collectConstants: time 0.01516/11.85, allocations: 0.6314 MB / 2.55 GB, free: 40.35 MB / 1.451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09601/11.94, allocations: 13.07 MB / 2.563 GB, free: 37.91 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.01995/11.96, allocations: 2.968 MB / 2.566 GB, free: 36.5 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.02498/11.99, allocations: 4.174 MB / 2.57 GB, free: 34.69 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.08933/12.08, allocations: 31.98 MB / 2.601 GB, free: 7.438 MB / 1.451 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/12.08, allocations: 0 / 2.601 GB, free: 7.438 MB / 1.451 GB Notification: Performance of FrontEnd: time 3.847e-06/12.08, allocations: 0 / 2.601 GB, free: 7.438 MB / 1.451 GB Notification: Performance of Transformations before backend: time 0.001833/12.08, allocations: 0 / 2.601 GB, free: 7.438 MB / 1.451 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.09052/12.17, allocations: 17.01 MB / 2.618 GB, free: 8.191 MB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001645/12.17, allocations: 8.031 kB / 2.618 GB, free: 8.184 MB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01532/12.18, allocations: 1.637 MB / 2.62 GB, free: 7.332 MB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02253/12.21, allocations: 2.249 MB / 2.622 GB, free: 5.066 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08595/12.29, allocations: 17 MB / 2.638 GB, free: 11.07 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003153/12.3, allocations: 0.9736 MB / 2.639 GB, free: 10.51 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009273/12.3, allocations: 1.294 MB / 2.641 GB, free: 9.633 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08392/12.39, allocations: 14.28 MB / 2.655 GB, free: 15.62 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001536/12.39, allocations: 42.64 kB / 2.655 GB, free: 15.61 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009996/12.4, allocations: 0.5298 MB / 2.655 GB, free: 15.48 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/12.4, allocations: 342.2 kB / 2.655 GB, free: 15.15 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04732/12.45, allocations: 9.999 MB / 2.665 GB, free: 9.09 MB / 1.498 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.2284/12.68, allocations: 75.13 MB / 2.739 GB, free: 10.7 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/12.69, allocations: 4.551 MB / 2.743 GB, free: 7.371 MB / 1.561 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1702/12.86, allocations: 51.84 MB / 2.794 GB, free: 13.14 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/12.86, allocations: 132.9 kB / 2.794 GB, free: 13.04 MB / 1.623 GB Notification: Performance of pre-optimization done (n=412): time 7.739e-05/12.86, allocations: 0 / 2.794 GB, free: 13.04 MB / 1.623 GB Notification: Performance of matching and sorting (n=412): time 0.03745/12.9, allocations: 6.942 MB / 2.801 GB, free: 7.914 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00095/12.9, allocations: 0.7897 MB / 2.801 GB, free: 6.949 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08691/12.99, allocations: 16.71 MB / 2.818 GB, free: 11.52 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.002704/12.99, allocations: 143.6 kB / 2.818 GB, free: 11.45 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.02542/13.02, allocations: 8.657 MB / 2.826 GB, free: 5.871 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.00669/13.02, allocations: 1.456 MB / 2.828 GB, free: 4.43 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00239/13.03, allocations: 132 kB / 2.828 GB, free: 4.301 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.001296/13.03, allocations: 0.5432 MB / 2.828 GB, free: 3.75 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009677/13.04, allocations: 2.015 MB / 2.83 GB, free: 1.73 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01884/13.06, allocations: 5.035 MB / 2.835 GB, free: 11.43 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/13.07, allocations: 2.932 MB / 2.838 GB, free: 8.535 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002536/13.07, allocations: 24 kB / 2.838 GB, free: 8.512 MB / 1.654 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.04053/13.11, allocations: 8.106 MB / 2.846 GB, free: 412 kB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/13.11, allocations: 40 kB / 2.846 GB, free: 372 kB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/13.11, allocations: 72 kB / 2.846 GB, free: 300 kB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/13.11, allocations: 124 kB / 2.846 GB, free: 176 kB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/13.12, allocations: 1.404 MB / 2.848 GB, free: 14.77 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007246/13.12, allocations: 159.4 kB / 2.848 GB, free: 14.61 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03077/13.16, allocations: 1.888 MB / 2.85 GB, free: 12.72 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003111/13.16, allocations: 395.8 kB / 2.85 GB, free: 12.33 MB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 821 * 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.0259/13.18, allocations: 3.544 MB / 2.853 GB, free: 8.777 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01041/13.2, allocations: 1.647 MB / 2.855 GB, free: 7.109 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03609/13.23, allocations: 7.57 MB / 2.862 GB, free: 15.68 MB / 1.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005051/13.23, allocations: 87.94 kB / 2.862 GB, free: 15.6 MB / 1.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.436e-05/13.23, allocations: 11.95 kB / 2.862 GB, free: 15.59 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01287/13.24, allocations: 3.825 MB / 2.866 GB, free: 11.45 MB / 1.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.131/13.38, allocations: 28.89 MB / 2.894 GB, free: 14.2 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000206/13.38, allocations: 32.94 kB / 2.894 GB, free: 14.17 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006869/13.38, allocations: 0.7761 MB / 2.895 GB, free: 13.39 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/13.38, allocations: 56 kB / 2.895 GB, free: 13.34 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00151/13.38, allocations: 155.9 kB / 2.895 GB, free: 13.18 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001293/13.39, allocations: 67.78 kB / 2.895 GB, free: 13.12 MB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-05/13.39, allocations: 47.81 kB / 2.896 GB, free: 13.07 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05036/13.44, allocations: 28.63 MB / 2.923 GB, free: 14.77 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02379/13.46, allocations: 3.238 MB / 2.927 GB, free: 11.48 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01274/13.47, allocations: 132 kB / 2.927 GB, free: 11.36 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02391/13.5, allocations: 0.6063 MB / 2.927 GB, free: 10.75 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002145/13.5, allocations: 394.9 kB / 2.928 GB, free: 10.37 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001938/13.5, allocations: 251.9 kB / 2.928 GB, free: 10.12 MB / 1.748 GB Notification: Performance of sorting global known variables: time 2.641/16.14, allocations: 11.86 MB / 2.94 GB, free: 0.9048 GB / 1.748 GB Notification: Performance of sort global known variables: time 2.204e-06/16.14, allocations: 4.625 kB / 2.94 GB, free: 0.9048 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.04796/16.19, allocations: 5.352 MB / 2.945 GB, free: 0.9048 GB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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.08275/16.27, allocations: 30.04 MB / 2.974 GB, free: 0.8878 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.02041/16.29, allocations: 5.453 MB / 2.979 GB, free: 0.8868 GB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 8.49e-05/16.29, allocations: 13.61 kB / 2.979 GB, free: 0.8868 GB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.008507/16.3, allocations: 2.569 MB / 2.982 GB, free: 0.8859 GB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09344/16.4, allocations: 9.592 MB / 2.991 GB, free: 0.8843 GB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2012/16.6, allocations: 113.4 MB / 3.102 GB, free: 0.7876 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03621/16.63, allocations: 8.107 MB / 3.11 GB, free: 0.7859 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.04182/16.68, allocations: 3.249 MB / 3.113 GB, free: 0.785 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03319/16.71, allocations: 7.976 MB / 3.121 GB, free: 0.7782 GB / 1.748 GB Notification: Performance of SimCode: time 5.941e-06/16.71, allocations: 0 / 3.121 GB, free: 0.7782 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.161/17.87, allocations: 491.8 MB / 3.601 GB, free: 312.7 MB / 1.748 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003592/17.87, allocations: 277.1 kB / 3.602 GB, free: 312.3 MB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.31/47.18, allocations: 0 / 3.602 GB, free: 312.3 MB / 1.748 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat does not exist to compare? outputFormat=mat