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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 100.1 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.001383/0.001383, 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.556/1.556, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9576/0.9581, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.137/4.095, allocations: 1.14 GB / 2.161 GB, free: 0.8086 MB / 1.342 GB Notification: Performance of NFInst.instExpressions: time 1.787/5.882, allocations: 286.4 MB / 2.441 GB, free: 59.9 MB / 1.498 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05808/5.94, allocations: 1.014 MB / 2.442 GB, free: 59.9 MB / 1.498 GB Notification: Performance of NFTyping.typeComponents: time 0.06425/6.005, allocations: 13.61 MB / 2.455 GB, free: 59.88 MB / 1.498 GB Notification: Performance of NFTyping.typeBindings: time 0.146/6.151, allocations: 34.31 MB / 2.488 GB, free: 59.5 MB / 1.498 GB Notification: Performance of NFTyping.typeClassSections: time 0.08807/6.239, allocations: 26.18 MB / 2.514 GB, free: 58.76 MB / 1.498 GB Notification: Performance of NFFlatten.flatten: time 0.09147/6.33, allocations: 31.31 MB / 2.545 GB, free: 56.57 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04697/6.377, allocations: 14.76 MB / 2.559 GB, free: 51.48 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06635/6.444, allocations: 17.54 MB / 2.576 GB, free: 49.12 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03938/6.483, allocations: 13.96 MB / 2.59 GB, free: 47.32 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.009826/6.493, allocations: 0.6308 MB / 2.59 GB, free: 47.32 MB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07167/6.565, allocations: 13.07 MB / 2.603 GB, free: 45.1 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01112/6.576, allocations: 2.965 MB / 2.606 GB, free: 44.49 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 0.01595/6.592, allocations: 4.176 MB / 2.61 GB, free: 44.21 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.05937/6.651, allocations: 31.98 MB / 2.641 GB, free: 16.96 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/6.651, allocations: 0 / 2.641 GB, free: 16.96 MB / 1.498 GB Notification: Performance of FrontEnd: time 2.355e-06/6.651, allocations: 0 / 2.641 GB, free: 16.96 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001433/6.653, allocations: 0 / 2.641 GB, free: 16.96 MB / 1.498 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.0532/6.706, allocations: 17 MB / 2.658 GB, free: 1.719 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/6.706, allocations: 15.98 kB / 2.658 GB, free: 1.703 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/6.717, allocations: 2.252 MB / 2.66 GB, free: 15.43 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.054/6.771, allocations: 17 MB / 2.677 GB, free: 5.438 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00157/6.772, allocations: 0.9774 MB / 2.678 GB, free: 4.871 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005837/6.778, allocations: 1.287 MB / 2.679 GB, free: 4 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05156/6.83, allocations: 14.28 MB / 2.693 GB, free: 10 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001101/6.831, allocations: 51.28 kB / 2.693 GB, free: 9.969 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008485/6.839, allocations: 0.5368 MB / 2.693 GB, free: 9.836 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008643/6.84, allocations: 341.9 kB / 2.694 GB, free: 9.512 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03042/6.871, allocations: 9.992 MB / 2.704 GB, free: 3.453 MB / 1.529 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.1366/7.007, allocations: 75.13 MB / 2.777 GB, free: 5.547 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009603/7.017, allocations: 4.552 MB / 2.781 GB, free: 2.215 MB / 1.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09751/7.115, allocations: 51.85 MB / 2.832 GB, free: 7.973 MB / 1.654 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/7.115, allocations: 126.6 kB / 2.832 GB, free: 7.879 MB / 1.654 GB Notification: Performance of pre-optimization done (n=412): time 7.965e-06/7.115, allocations: 0 / 2.832 GB, free: 7.879 MB / 1.654 GB Notification: Performance of matching and sorting (n=412): time 0.02037/7.135, allocations: 6.941 MB / 2.839 GB, free: 2.746 MB / 1.654 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004438/7.136, allocations: 0.7944 MB / 2.84 GB, free: 1.777 MB / 1.654 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04692/7.183, allocations: 16.7 MB / 2.856 GB, free: 6.355 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00191/7.185, allocations: 139.9 kB / 2.856 GB, free: 6.281 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01378/7.199, allocations: 8.649 MB / 2.865 GB, free: 1.938 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003367/7.202, allocations: 1.46 MB / 2.866 GB, free: 0.4922 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/7.203, allocations: 132 kB / 2.866 GB, free: 372 kB / 1.67 GB Notification: Performance of setup shared object (initialization): time 0.0005843/7.204, allocations: 0.551 MB / 2.867 GB, free: 15.8 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/7.208, allocations: 2.019 MB / 2.869 GB, free: 13.78 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00841/7.217, allocations: 5.018 MB / 2.874 GB, free: 7.496 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/7.223, allocations: 2.941 MB / 2.876 GB, free: 4.598 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.276e-05/7.224, allocations: 21.86 kB / 2.876 GB, free: 4.578 MB / 1.686 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02558/7.249, allocations: 8.098 MB / 2.884 GB, free: 12.48 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/7.249, allocations: 43.98 kB / 2.884 GB, free: 12.43 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/7.249, allocations: 76 kB / 2.884 GB, free: 12.36 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/7.25, allocations: 120 kB / 2.885 GB, free: 12.24 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/7.256, allocations: 1.416 MB / 2.886 GB, free: 10.82 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/7.256, allocations: 159.4 kB / 2.886 GB, free: 10.67 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/7.275, allocations: 1.878 MB / 2.888 GB, free: 8.781 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002519/7.277, allocations: 379.9 kB / 2.888 GB, free: 8.41 MB / 1.701 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.01395/7.291, allocations: 3.551 MB / 2.892 GB, free: 4.848 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006704/7.298, allocations: 1.655 MB / 2.893 GB, free: 3.172 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/7.317, allocations: 7.564 MB / 2.901 GB, free: 11.75 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002546/7.318, allocations: 79.94 kB / 2.901 GB, free: 11.67 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/7.318, allocations: 8 kB / 2.901 GB, free: 11.66 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005586/7.323, allocations: 3.837 MB / 2.905 GB, free: 7.52 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06733/7.391, allocations: 28.9 MB / 2.933 GB, free: 10.26 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.693e-05/7.391, allocations: 33.53 kB / 2.933 GB, free: 10.23 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/7.394, allocations: 0.7768 MB / 2.934 GB, free: 9.453 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.308e-05/7.394, allocations: 56 kB / 2.934 GB, free: 9.398 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005303/7.394, allocations: 152 kB / 2.934 GB, free: 9.25 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-05/7.394, allocations: 75.72 kB / 2.934 GB, free: 9.176 MB / 1.748 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.209e-05/7.394, allocations: 47.81 kB / 2.934 GB, free: 9.129 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02953/7.424, allocations: 28.63 MB / 2.962 GB, free: 10.84 MB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0117/7.436, allocations: 3.236 MB / 2.965 GB, free: 7.559 MB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00583/7.442, allocations: 128 kB / 2.965 GB, free: 7.434 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01295/7.455, allocations: 0.6271 MB / 2.966 GB, free: 6.816 MB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0015/7.456, allocations: 394.8 kB / 2.966 GB, free: 6.43 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001533/7.458, allocations: 259.8 kB / 2.966 GB, free: 6.176 MB / 1.779 GB Notification: Performance of sorting global known variables: time 0.03594/7.494, allocations: 11.86 MB / 2.978 GB, free: 10.42 MB / 1.795 GB Notification: Performance of sort global known variables: time 1.002e-06/7.494, allocations: 0 / 2.978 GB, free: 10.42 MB / 1.795 GB Notification: Performance of remove unused functions: time 0.0283/7.522, allocations: 5.363 MB / 2.983 GB, free: 5.047 MB / 1.795 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.01549/7.538, allocations: 4.745 MB / 2.988 GB, free: 0.7109 MB / 1.795 GB Notification: Performance of simCode: created initialization part: time 1.381/8.918, allocations: 5.45 MB / 2.993 GB, free: 305.6 MB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 4.296e-05/8.919, allocations: 11.53 kB / 2.993 GB, free: 305.6 MB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/8.924, allocations: 2.566 MB / 2.996 GB, free: 305.6 MB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05875/8.983, allocations: 9.594 MB / 3.005 GB, free: 305.2 MB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07856/9.061, allocations: 32.51 MB / 3.037 GB, free: 290 MB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02731/9.089, allocations: 8.107 MB / 3.045 GB, free: 288.7 MB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.0267/9.115, allocations: 3.247 MB / 3.048 GB, free: 288.1 MB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006672/9.122, allocations: 1.074 MB / 3.049 GB, free: 288.1 MB / 1.795 GB Notification: Performance of SimCode: time 2.174e-06/9.122, allocations: 0 / 3.049 GB, free: 288.1 MB / 1.795 GB Notification: Performance of Templates: time 0.5301/9.652, allocations: 341.2 MB / 3.382 GB, free: 34.39 MB / 1.795 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (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 & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches