Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_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.00114/0.00114, allocations: 99.31 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.001262/0.001262, allocations: 177.3 kB / 15.95 MB, free: 216 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.405/1.405, 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 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8532, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.617/3.47, allocations: 1.131 GB / 2.085 GB, free: 15.2 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 1.56/5.031, allocations: 283.9 MB / 2.362 GB, free: 51.43 MB / 1.42 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04936/5.08, allocations: 0.9563 MB / 2.363 GB, free: 51.43 MB / 1.42 GB Notification: Performance of NFTyping.typeComponents: time 0.06259/5.143, allocations: 13.43 MB / 2.376 GB, free: 51.41 MB / 1.42 GB Notification: Performance of NFTyping.typeBindings: time 0.1421/5.285, allocations: 33.81 MB / 2.409 GB, free: 51.04 MB / 1.42 GB Notification: Performance of NFTyping.typeClassSections: time 0.08028/5.365, allocations: 25 MB / 2.434 GB, free: 49.88 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.09255/5.458, allocations: 30.63 MB / 2.463 GB, free: 48.54 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04461/5.502, allocations: 14.11 MB / 2.477 GB, free: 43.85 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06008/5.563, allocations: 17.4 MB / 2.494 GB, free: 41.49 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03824/5.601, allocations: 13.85 MB / 2.508 GB, free: 39.71 MB / 1.42 GB Notification: Performance of NFPackage.collectConstants: time 0.009247/5.61, allocations: 0.6239 MB / 2.508 GB, free: 39.71 MB / 1.42 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05372/5.664, allocations: 13.06 MB / 2.521 GB, free: 37.49 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.0113/5.675, allocations: 2.886 MB / 2.524 GB, free: 36.41 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.01382/5.689, allocations: 4.077 MB / 2.528 GB, free: 34.64 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.05128/5.74, allocations: 31.15 MB / 2.558 GB, free: 8.105 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/5.74, allocations: 0 / 2.558 GB, free: 8.105 MB / 1.42 GB Notification: Performance of FrontEnd: time 3.075e-06/5.74, allocations: 1.781 kB / 2.558 GB, free: 8.105 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.00126/5.742, allocations: 0 / 2.558 GB, free: 8.105 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04209/5.784, allocations: 16.59 MB / 2.575 GB, free: 9.227 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/5.784, allocations: 12.03 kB / 2.575 GB, free: 9.215 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007308/5.791, allocations: 1.577 MB / 2.576 GB, free: 8.395 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/5.802, allocations: 2.182 MB / 2.578 GB, free: 6.195 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03766/5.84, allocations: 16.4 MB / 2.594 GB, free: 12.6 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/5.842, allocations: 0.9561 MB / 2.595 GB, free: 12.04 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005015/5.847, allocations: 1.258 MB / 2.596 GB, free: 11.19 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/5.89, allocations: 13.76 MB / 2.61 GB, free: 1.488 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005335/5.891, allocations: 32.19 kB / 2.61 GB, free: 1.477 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003083/5.894, allocations: 0.515 MB / 2.61 GB, free: 1.348 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003683/5.894, allocations: 342.1 kB / 2.611 GB, free: 1.023 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/5.917, allocations: 9.587 MB / 2.62 GB, free: 11.23 MB / 1.467 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.1035/6.02, allocations: 70.83 MB / 2.689 GB, free: 1.34 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006911/6.027, allocations: 4.537 MB / 2.694 GB, free: 14.03 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08737/6.115, allocations: 51.84 MB / 2.744 GB, free: 3.797 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/6.115, allocations: 129.7 kB / 2.744 GB, free: 3.699 MB / 1.576 GB Notification: Performance of pre-optimization done (n=412): time 6.342e-06/6.115, allocations: 0 / 2.744 GB, free: 3.699 MB / 1.576 GB Notification: Performance of matching and sorting (n=412): time 0.01585/6.131, allocations: 6.898 MB / 2.751 GB, free: 14.62 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003276/6.131, allocations: 0.7975 MB / 2.752 GB, free: 13.64 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03523/6.167, allocations: 16.23 MB / 2.768 GB, free: 2.602 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.001674/6.168, allocations: 144.8 kB / 2.768 GB, free: 2.523 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01382/6.182, allocations: 8.29 MB / 2.776 GB, free: 15.08 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003249/6.185, allocations: 1.451 MB / 2.777 GB, free: 13.84 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007463/6.186, allocations: 120.9 kB / 2.778 GB, free: 13.82 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0004118/6.187, allocations: 0.5301 MB / 2.778 GB, free: 13.38 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/6.19, allocations: 1.948 MB / 2.78 GB, free: 12.18 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006499/6.197, allocations: 4.69 MB / 2.785 GB, free: 7.367 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005499/6.202, allocations: 2.778 MB / 2.787 GB, free: 5.043 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/6.202, allocations: 16 kB / 2.787 GB, free: 5.027 MB / 1.607 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02098/6.223, allocations: 7.697 MB / 2.795 GB, free: 13.32 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/6.224, allocations: 41.94 kB / 2.795 GB, free: 13.29 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/6.224, allocations: 71.94 kB / 2.795 GB, free: 13.21 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/6.224, allocations: 112 kB / 2.795 GB, free: 13.11 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005505/6.229, allocations: 1.32 MB / 2.796 GB, free: 11.79 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001777/6.23, allocations: 139.5 kB / 2.796 GB, free: 11.65 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/6.246, allocations: 1.713 MB / 2.798 GB, free: 9.93 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/6.248, allocations: 359.9 kB / 2.798 GB, free: 9.578 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.01134/6.259, allocations: 3.386 MB / 2.802 GB, free: 6.18 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005538/6.265, allocations: 1.619 MB / 2.803 GB, free: 4.543 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/6.282, allocations: 7.546 MB / 2.811 GB, free: 13.14 MB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000256/6.283, allocations: 79.94 kB / 2.811 GB, free: 13.07 MB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/6.283, allocations: 8 kB / 2.811 GB, free: 13.06 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005341/6.288, allocations: 3.816 MB / 2.815 GB, free: 8.93 MB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06597/6.354, allocations: 28.55 MB / 2.842 GB, free: 12.01 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001244/6.354, allocations: 32 kB / 2.842 GB, free: 11.98 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/6.357, allocations: 0.7748 MB / 2.843 GB, free: 11.2 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-05/6.358, allocations: 56 kB / 2.843 GB, free: 11.15 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007613/6.358, allocations: 152 kB / 2.843 GB, free: 11 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.5e-05/6.358, allocations: 71.72 kB / 2.843 GB, free: 10.93 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.801e-05/6.358, allocations: 48.09 kB / 2.843 GB, free: 10.88 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/6.385, allocations: 28.16 MB / 2.871 GB, free: 12.62 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01114/6.396, allocations: 3.199 MB / 2.874 GB, free: 9.383 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006024/6.402, allocations: 128 kB / 2.874 GB, free: 9.258 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/6.414, allocations: 0.5458 MB / 2.875 GB, free: 8.719 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/6.415, allocations: 402.7 kB / 2.875 GB, free: 8.324 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001144/6.416, allocations: 259.8 kB / 2.875 GB, free: 8.07 MB / 1.701 GB Notification: Performance of sorting global known variables: time 1.264/7.68, allocations: 11.55 MB / 2.887 GB, free: 0.8763 GB / 1.701 GB Notification: Performance of sort global known variables: time 9.71e-07/7.68, allocations: 0 / 2.887 GB, free: 0.8763 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.0285/7.709, allocations: 5.281 MB / 2.892 GB, free: 0.8763 GB / 1.701 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.04153/7.75, allocations: 29.97 MB / 2.921 GB, free: 0.8592 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.01099/7.761, allocations: 5.297 MB / 2.926 GB, free: 0.858 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 4.482e-05/7.761, allocations: 7.594 kB / 2.926 GB, free: 0.858 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.004645/7.766, allocations: 2.562 MB / 2.929 GB, free: 0.8571 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05045/7.816, allocations: 9.31 MB / 2.938 GB, free: 0.8555 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1046/7.921, allocations: 104 MB / 3.039 GB, free: 0.7676 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01919/7.94, allocations: 7.736 MB / 3.047 GB, free: 0.7654 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.02386/7.964, allocations: 3.15 MB / 3.05 GB, free: 0.7641 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02146/7.986, allocations: 7.794 MB / 3.058 GB, free: 0.7574 GB / 1.701 GB Notification: Performance of SimCode: time 3.286e-06/7.986, allocations: 0 / 3.058 GB, free: 0.7574 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7293/8.715, allocations: 483.8 MB / 3.53 GB, free: 306.6 MB / 1.701 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/8.715, allocations: 256.5 kB / 3.53 GB, free: 306.3 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/26.38, allocations: 0 / 3.53 GB, free: 306.3 MB / 1.701 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat does not exist to compare? outputFormat=mat