Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_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.001124/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.6005, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.303/3.904, allocations: 1.37 GB / 2.387 GB, free: 98.91 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3094/4.213, allocations: 334 MB / 2.713 GB, free: 41.2 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04802/4.261, allocations: 1.224 MB / 2.715 GB, free: 40.43 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.03554/4.297, allocations: 13.25 MB / 2.728 GB, free: 28.91 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.08159/4.379, allocations: 32.24 MB / 2.759 GB, free: 1.199 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04458/4.423, allocations: 19.63 MB / 2.778 GB, free: 15.55 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.08108/4.504, allocations: 58.14 MB / 2.835 GB, free: 6.953 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.043/4.547, allocations: 23.37 MB / 2.858 GB, free: 15.7 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.055/4.602, allocations: 24.89 MB / 2.882 GB, free: 8.242 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03288/4.635, allocations: 17.73 MB / 2.899 GB, free: 7.668 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008368/4.644, allocations: 2.129 MB / 2.902 GB, free: 5.539 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04494/4.689, allocations: 17.81 MB / 2.919 GB, free: 4.43 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.009154/4.698, allocations: 4.891 MB / 2.924 GB, free: 15.61 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02745/4.725, allocations: 11.17 MB / 2.935 GB, free: 4.469 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.07541/4.801, allocations: 41.73 MB / 2.975 GB, free: 12.04 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/4.801, allocations: 0 / 2.975 GB, free: 12.04 MB / 1.748 GB Notification: Performance of FrontEnd: time 1.633e-06/4.801, allocations: 0 / 2.975 GB, free: 12.04 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001269/4.802, allocations: 0 / 2.975 GB, free: 12.04 MB / 1.748 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.05642/4.859, allocations: 20.94 MB / 2.996 GB, free: 7.164 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/4.859, allocations: 12.03 kB / 2.996 GB, free: 7.152 MB / 1.764 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005735/4.864, allocations: 1.634 MB / 2.997 GB, free: 5.512 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/4.875, allocations: 2.252 MB / 3 GB, free: 3.234 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03707/4.912, allocations: 17.7 MB / 3.017 GB, free: 1.824 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/4.913, allocations: 0.9808 MB / 3.018 GB, free: 0.8438 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.899/5.812, allocations: 1.281 MB / 3.019 GB, free: 0.9313 GB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04083/5.853, allocations: 14.61 MB / 3.033 GB, free: 0.925 GB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003966/5.853, allocations: 45.97 kB / 3.033 GB, free: 0.9249 GB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/5.855, allocations: 0.5316 MB / 3.034 GB, free: 0.9245 GB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/5.856, allocations: 351.8 kB / 3.034 GB, free: 0.9245 GB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/5.876, allocations: 10.1 MB / 3.044 GB, free: 0.9206 GB / 1.779 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.07143/5.947, allocations: 77.15 MB / 3.12 GB, free: 0.8597 GB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/5.953, allocations: 4.572 MB / 3.124 GB, free: 0.8571 GB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/5.956, allocations: 2.436 MB / 3.126 GB, free: 0.8557 GB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0754/6.031, allocations: 51.51 MB / 3.177 GB, free: 0.8126 GB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/6.032, allocations: 124 kB / 3.177 GB, free: 0.8125 GB / 1.779 GB Notification: Performance of pre-optimization done (n=412): time 1.094e-05/6.032, allocations: 3.406 kB / 3.177 GB, free: 0.8125 GB / 1.779 GB Notification: Performance of matching and sorting (n=412): time 0.01692/6.049, allocations: 6.992 MB / 3.184 GB, free: 0.809 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/6.049, allocations: 0.7894 MB / 3.184 GB, free: 0.8081 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03104/6.08, allocations: 16.68 MB / 3.201 GB, free: 0.7919 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/6.081, allocations: 145.1 kB / 3.201 GB, free: 0.7918 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.006913/6.088, allocations: 8.686 MB / 3.209 GB, free: 0.7833 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/6.09, allocations: 1.462 MB / 3.211 GB, free: 0.7818 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/6.092, allocations: 1.487 MB / 3.212 GB, free: 0.7804 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/6.092, allocations: 309.1 kB / 3.212 GB, free: 0.7801 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/6.094, allocations: 2.078 MB / 3.214 GB, free: 0.778 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/6.099, allocations: 5.29 MB / 3.22 GB, free: 0.7716 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006763/6.105, allocations: 7.135 MB / 3.227 GB, free: 0.7637 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.004e-05/6.106, allocations: 28 kB / 3.227 GB, free: 0.7636 GB / 1.779 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01517/6.121, allocations: 8.349 MB / 3.235 GB, free: 0.7555 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/6.121, allocations: 44.92 kB / 3.235 GB, free: 0.7555 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.405e-05/6.121, allocations: 80 kB / 3.235 GB, free: 0.7554 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.919e-05/6.121, allocations: 120 kB / 3.235 GB, free: 0.7553 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/6.125, allocations: 1.459 MB / 3.236 GB, free: 0.7538 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.844e-05/6.125, allocations: 175.3 kB / 3.237 GB, free: 0.7537 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009749/6.135, allocations: 1.336 MB / 3.238 GB, free: 0.7524 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009886/6.136, allocations: 395.9 kB / 3.238 GB, free: 0.752 GB / 1.779 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.005968/6.142, allocations: 3.573 MB / 3.242 GB, free: 0.7485 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004128/6.146, allocations: 1.663 MB / 3.243 GB, free: 0.7468 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/6.157, allocations: 7.584 MB / 3.251 GB, free: 0.7396 GB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.687e-05/6.157, allocations: 95.7 kB / 3.251 GB, free: 0.7395 GB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/6.157, allocations: 8 kB / 3.251 GB, free: 0.7395 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003114/6.16, allocations: 3.84 MB / 3.255 GB, free: 0.7354 GB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04174/6.202, allocations: 28.82 MB / 3.283 GB, free: 0.7069 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/6.202, allocations: 32 kB / 3.283 GB, free: 0.7069 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/6.205, allocations: 0.7684 MB / 3.284 GB, free: 0.7062 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/6.205, allocations: 52 kB / 3.284 GB, free: 0.7061 GB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/6.205, allocations: 155.9 kB / 3.284 GB, free: 0.706 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.279e-05/6.205, allocations: 63.8 kB / 3.284 GB, free: 0.7059 GB / 1.779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.809e-05/6.205, allocations: 56.03 kB / 3.284 GB, free: 0.7059 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/6.218, allocations: 11.97 MB / 3.296 GB, free: 0.6936 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006289/6.224, allocations: 2.856 MB / 3.298 GB, free: 0.6908 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004063/6.228, allocations: 155.6 kB / 3.299 GB, free: 0.6906 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008757/6.237, allocations: 255 kB / 3.299 GB, free: 0.6904 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000761/6.238, allocations: 406.7 kB / 3.299 GB, free: 0.69 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008162/6.239, allocations: 259.8 kB / 3.299 GB, free: 0.6897 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02314/6.262, allocations: 11.85 MB / 3.311 GB, free: 0.6783 GB / 1.779 GB Notification: Performance of sort global known variables: time 5.41e-07/6.262, allocations: 0 / 3.311 GB, free: 0.6783 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.01749/6.279, allocations: 5.351 MB / 3.316 GB, free: 0.6733 GB / 1.779 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 (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.02621/6.306, allocations: 16.91 MB / 3.333 GB, free: 0.6569 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.009823/6.315, allocations: 5.938 MB / 3.339 GB, free: 0.6511 GB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 3.251e-05/6.315, allocations: 8 kB / 3.339 GB, free: 0.6511 GB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/6.319, allocations: 2.588 MB / 3.341 GB, free: 0.6486 GB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04712/6.366, allocations: 10.1 MB / 3.351 GB, free: 0.6396 GB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2221/6.588, allocations: 276.4 MB / 3.621 GB, free: 358 MB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00932/6.598, allocations: 7.783 MB / 3.628 GB, free: 350.2 MB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.0139/6.612, allocations: 3.252 MB / 3.632 GB, free: 347.1 MB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009962/6.622, allocations: 8.06 MB / 3.639 GB, free: 339 MB / 1.779 GB Notification: Performance of SimCode: time 9.92e-07/6.622, allocations: 0 / 3.639 GB, free: 339 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.507/8.129, allocations: 0.4964 GB / 4.136 GB, free: 0.8002 GB / 1.78 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.62/29.75, allocations: 13.77 kB / 4.136 GB, free: 0.8002 GB / 1.78 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches