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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008273/0.008273, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.002195/0.002195, allocations: 195.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 58.25 kB / 0.9504 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.155/3.402, allocations: 1.349 GB / 2.436 GB, free: 96.72 MB / 1.623 GB Notification: Performance of NFInst.instExpressions: time 0.3196/3.722, allocations: 330.5 MB / 2.759 GB, free: 59.12 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04265/3.764, allocations: 1.161 MB / 2.76 GB, free: 59.12 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.03334/3.798, allocations: 13.21 MB / 2.773 GB, free: 50.64 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.08197/3.88, allocations: 33.81 MB / 2.806 GB, free: 21.35 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.04066/3.921, allocations: 18.9 MB / 2.824 GB, free: 4.203 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.07023/3.991, allocations: 56.7 MB / 2.88 GB, free: 13.04 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03403/4.025, allocations: 22.24 MB / 2.902 GB, free: 6.918 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05763/4.083, allocations: 25.44 MB / 2.926 GB, free: 14.93 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03199/4.115, allocations: 17.59 MB / 2.944 GB, free: 14.52 MB / 1.748 GB Notification: Performance of NFPackage.collectConstants: time 0.007136/4.122, allocations: 2.055 MB / 2.946 GB, free: 12.46 MB / 1.748 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04211/4.164, allocations: 17.9 MB / 2.963 GB, free: 11.28 MB / 1.764 GB Notification: Performance of NFScalarize.scalarize: time 0.007934/4.172, allocations: 4.73 MB / 2.968 GB, free: 6.598 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.02083/4.193, allocations: 10.86 MB / 2.978 GB, free: 11.75 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.07194/4.265, allocations: 41.24 MB / 3.019 GB, free: 3.758 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/4.265, allocations: 0 / 3.019 GB, free: 3.758 MB / 1.811 GB Notification: Performance of FrontEnd: time 2.064e-06/4.265, allocations: 0 / 3.019 GB, free: 3.758 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.0009801/4.266, allocations: 0 / 3.019 GB, free: 3.758 MB / 1.811 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.04223/4.308, allocations: 20.98 MB / 3.039 GB, free: 14.82 MB / 1.842 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/4.308, allocations: 8.031 kB / 3.039 GB, free: 14.81 MB / 1.842 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003267/4.311, allocations: 1.58 MB / 3.041 GB, free: 13.22 MB / 1.842 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006888/4.318, allocations: 2.287 MB / 3.043 GB, free: 10.93 MB / 1.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03308/4.351, allocations: 18.41 MB / 3.061 GB, free: 8.824 MB / 1.857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007658/4.352, allocations: 0.9477 MB / 3.062 GB, free: 7.875 MB / 1.857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/4.355, allocations: 1.256 MB / 3.063 GB, free: 6.621 MB / 1.857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/4.381, allocations: 14.09 MB / 3.077 GB, free: 7.75 MB / 1.873 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002596/4.382, allocations: 43.58 kB / 3.077 GB, free: 7.707 MB / 1.873 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/4.383, allocations: 0.5175 MB / 3.077 GB, free: 7.191 MB / 1.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/4.383, allocations: 339.9 kB / 3.078 GB, free: 6.859 MB / 1.873 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/4.4, allocations: 9.68 MB / 3.087 GB, free: 13.21 MB / 1.889 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.6339/5.034, allocations: 72.36 MB / 3.158 GB, free: 0.9581 GB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/5.042, allocations: 4.561 MB / 3.162 GB, free: 0.9575 GB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/5.046, allocations: 2.427 MB / 3.165 GB, free: 0.9573 GB / 1.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07826/5.124, allocations: 51.68 MB / 3.215 GB, free: 0.9208 GB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/5.124, allocations: 116.2 kB / 3.215 GB, free: 0.9207 GB / 1.92 GB Notification: Performance of pre-optimization done (n=412): time 1.921e-05/5.124, allocations: 0 / 3.215 GB, free: 0.9207 GB / 1.92 GB Notification: Performance of matching and sorting (n=412): time 0.01577/5.14, allocations: 7.041 MB / 3.222 GB, free: 0.9188 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/5.14, allocations: 0.7927 MB / 3.223 GB, free: 0.9179 GB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03042/5.171, allocations: 16.21 MB / 3.239 GB, free: 0.9121 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/5.172, allocations: 141.3 kB / 3.239 GB, free: 0.912 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.008045/5.18, allocations: 8.32 MB / 3.247 GB, free: 0.9053 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/5.182, allocations: 1.519 MB / 3.248 GB, free: 0.9042 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003727/5.185, allocations: 1.428 MB / 3.25 GB, free: 0.9034 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/5.185, allocations: 309.1 kB / 3.25 GB, free: 0.9031 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/5.189, allocations: 2.011 MB / 3.252 GB, free: 0.9021 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/5.194, allocations: 4.942 MB / 3.257 GB, free: 0.8976 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00705/5.201, allocations: 6.663 MB / 3.263 GB, free: 0.8926 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/5.201, allocations: 19.78 kB / 3.263 GB, free: 0.8926 GB / 1.92 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01489/5.216, allocations: 8.035 MB / 3.271 GB, free: 0.8886 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/5.216, allocations: 35.59 kB / 3.271 GB, free: 0.8886 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/5.216, allocations: 67.38 kB / 3.271 GB, free: 0.8886 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/5.217, allocations: 106.6 kB / 3.271 GB, free: 0.8886 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/5.221, allocations: 1.375 MB / 3.273 GB, free: 0.8883 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/5.221, allocations: 155.2 kB / 3.273 GB, free: 0.8883 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/5.232, allocations: 1.273 MB / 3.274 GB, free: 0.8874 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/5.233, allocations: 373.9 kB / 3.275 GB, free: 0.8873 GB / 1.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007825/5.241, allocations: 3.404 MB / 3.278 GB, free: 0.8852 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005634/5.247, allocations: 1.709 MB / 3.279 GB, free: 0.8843 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/5.26, allocations: 7.527 MB / 3.287 GB, free: 0.8804 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000169/5.261, allocations: 78.09 kB / 3.287 GB, free: 0.8804 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.051e-05/5.261, allocations: 13.19 kB / 3.287 GB, free: 0.8804 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003621/5.264, allocations: 3.838 MB / 3.291 GB, free: 0.8775 GB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04896/5.313, allocations: 28.5 MB / 3.319 GB, free: 0.8563 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001257/5.313, allocations: 35.84 kB / 3.319 GB, free: 0.8562 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/5.316, allocations: 0.7701 MB / 3.319 GB, free: 0.8555 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.503e-05/5.316, allocations: 52 kB / 3.319 GB, free: 0.8554 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000499/5.317, allocations: 159 kB / 3.32 GB, free: 0.8553 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.856e-05/5.317, allocations: 71.72 kB / 3.32 GB, free: 0.8552 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-05/5.317, allocations: 47.81 kB / 3.32 GB, free: 0.8552 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/5.332, allocations: 12 MB / 3.331 GB, free: 0.843 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007212/5.339, allocations: 2.905 MB / 3.334 GB, free: 0.8401 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004312/5.343, allocations: 155.7 kB / 3.334 GB, free: 0.8399 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008577/5.352, allocations: 216 kB / 3.335 GB, free: 0.8397 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/5.352, allocations: 401.4 kB / 3.335 GB, free: 0.8394 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006085/5.353, allocations: 259.8 kB / 3.335 GB, free: 0.8391 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.02164/5.375, allocations: 11.54 MB / 3.346 GB, free: 0.8279 GB / 1.92 GB Notification: Performance of sort global known variables: time 9.01e-07/5.375, allocations: 0.7656 kB / 3.346 GB, free: 0.8279 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.01845/5.393, allocations: 5.336 MB / 3.352 GB, free: 0.8227 GB / 1.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0291/5.422, allocations: 16.99 MB / 3.368 GB, free: 0.806 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.009287/5.432, allocations: 5.503 MB / 3.374 GB, free: 0.8006 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 4.273e-05/5.432, allocations: 11.91 kB / 3.374 GB, free: 0.8006 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/5.436, allocations: 2.584 MB / 3.376 GB, free: 0.7981 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05089/5.486, allocations: 9.938 MB / 3.386 GB, free: 0.7889 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1719/5.658, allocations: 114.9 MB / 3.498 GB, free: 0.6727 GB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/5.664, allocations: 7.422 MB / 3.505 GB, free: 0.6654 GB / 1.92 GB Notification: Performance of simCode: alias equations: time 0.01161/5.676, allocations: 3.155 MB / 3.508 GB, free: 0.6625 GB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008494/5.685, allocations: 7.802 MB / 3.516 GB, free: 0.6549 GB / 1.92 GB Notification: Performance of SimCode: time 6.91e-07/5.685, allocations: 0 / 3.516 GB, free: 0.6549 GB / 1.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5662/6.251, allocations: 0.4918 GB / 4.008 GB, free: 169.1 MB / 1.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.81/64.06, allocations: 0 / 4.008 GB, free: 169.1 MB / 1.92 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches