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.006663/0.006662, allocations: 103.7 kB / 15.74 MB, free: 6.035 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.00145/0.00145, allocations: 194.8 kB / 16.68 MB, free: 5.953 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.031/2.031, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7374, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.626/3.363, allocations: 1.349 GB / 2.436 GB, free: 83.44 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3587/3.722, allocations: 330.5 MB / 2.759 GB, free: 2.305 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04194/3.764, allocations: 1.157 MB / 2.76 GB, free: 1.141 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.03615/3.8, allocations: 12.96 MB / 2.773 GB, free: 4.102 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.08391/3.884, allocations: 32.17 MB / 2.804 GB, free: 3.82 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.0429/3.927, allocations: 18.87 MB / 2.823 GB, free: 1.098 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 1.097/5.024, allocations: 56.59 MB / 2.878 GB, free: 27.74 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03672/5.061, allocations: 22.25 MB / 2.9 GB, free: 41.01 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05576/5.117, allocations: 24.78 MB / 2.924 GB, free: 40.92 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03535/5.152, allocations: 17.58 MB / 2.941 GB, free: 37.59 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.008146/5.16, allocations: 2.055 MB / 2.943 GB, free: 37.59 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04395/5.204, allocations: 17.9 MB / 2.96 GB, free: 37.57 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.009468/5.214, allocations: 4.73 MB / 2.965 GB, free: 36.85 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02473/5.239, allocations: 10.86 MB / 2.976 GB, free: 33.97 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.06743/5.306, allocations: 41.11 MB / 3.016 GB, free: 30.9 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/5.306, allocations: 7.375 kB / 3.016 GB, free: 30.9 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.773e-06/5.306, allocations: 0 / 3.016 GB, free: 30.9 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001046/5.307, allocations: 2.625 kB / 3.016 GB, free: 30.9 MB / 1.795 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.04973/5.357, allocations: 20.35 MB / 3.036 GB, free: 22.77 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/5.357, allocations: 8.844 kB / 3.036 GB, free: 22.77 MB / 1.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004159/5.361, allocations: 1.577 MB / 3.037 GB, free: 22.65 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007692/5.369, allocations: 2.176 MB / 3.039 GB, free: 21.62 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03314/5.402, allocations: 18.27 MB / 3.057 GB, free: 18.81 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/5.403, allocations: 0.9488 MB / 3.058 GB, free: 18.79 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/5.406, allocations: 1.257 MB / 3.059 GB, free: 18.77 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/5.43, allocations: 14.09 MB / 3.073 GB, free: 16.37 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/5.43, allocations: 42.45 kB / 3.073 GB, free: 16.37 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/5.432, allocations: 0.5128 MB / 3.074 GB, free: 16.37 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002301/5.432, allocations: 336.9 kB / 3.074 GB, free: 16.37 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/5.448, allocations: 9.69 MB / 3.083 GB, free: 16.29 MB / 1.795 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.0802/5.528, allocations: 72.18 MB / 3.154 GB, free: 340 kB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00649/5.535, allocations: 4.582 MB / 3.158 GB, free: 13.04 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/5.538, allocations: 2.428 MB / 3.161 GB, free: 11.39 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08193/5.62, allocations: 51.67 MB / 3.211 GB, free: 1.34 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/5.62, allocations: 127.3 kB / 3.211 GB, free: 1.258 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 6.733e-06/5.62, allocations: 0 / 3.211 GB, free: 1.258 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01514/5.635, allocations: 6.952 MB / 3.218 GB, free: 12.2 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002734/5.635, allocations: 0.7933 MB / 3.219 GB, free: 11.24 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02564/5.661, allocations: 16.19 MB / 3.235 GB, free: 120 kB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/5.662, allocations: 144 kB / 3.235 GB, free: 40 kB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.006856/5.669, allocations: 8.207 MB / 3.243 GB, free: 11.99 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/5.672, allocations: 1.458 MB / 3.244 GB, free: 10.55 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002143/5.674, allocations: 1.42 MB / 3.246 GB, free: 9.117 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/5.674, allocations: 305.1 kB / 3.246 GB, free: 8.816 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002959/5.677, allocations: 2.007 MB / 3.248 GB, free: 6.805 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00517/5.682, allocations: 4.932 MB / 3.253 GB, free: 0.707 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007454/5.689, allocations: 6.677 MB / 3.259 GB, free: 9.387 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/5.689, allocations: 20 kB / 3.259 GB, free: 9.367 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01424/5.704, allocations: 7.959 MB / 3.267 GB, free: 1.867 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/5.704, allocations: 32 kB / 3.267 GB, free: 1.836 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.627e-05/5.704, allocations: 72 kB / 3.267 GB, free: 1.766 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.489e-05/5.704, allocations: 104 kB / 3.267 GB, free: 1.664 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/5.708, allocations: 1.373 MB / 3.269 GB, free: 404 kB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/5.708, allocations: 150.2 kB / 3.269 GB, free: 284 kB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009787/5.718, allocations: 1.246 MB / 3.27 GB, free: 15.03 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006793/5.718, allocations: 371.9 kB / 3.27 GB, free: 14.66 MB / 1.951 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.00746/5.726, allocations: 3.397 MB / 3.274 GB, free: 11.36 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004936/5.731, allocations: 1.62 MB / 3.275 GB, free: 9.723 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/5.745, allocations: 7.533 MB / 3.283 GB, free: 2.426 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/5.745, allocations: 83.88 kB / 3.283 GB, free: 2.344 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-05/5.745, allocations: 8 kB / 3.283 GB, free: 2.336 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004156/5.749, allocations: 3.846 MB / 3.286 GB, free: 14.19 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04486/5.794, allocations: 28.47 MB / 3.314 GB, free: 1.598 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/5.794, allocations: 32 kB / 3.314 GB, free: 1.566 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/5.796, allocations: 0.7763 MB / 3.315 GB, free: 0.8398 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/5.796, allocations: 48 kB / 3.315 GB, free: 0.793 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/5.797, allocations: 152 kB / 3.315 GB, free: 0.6445 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.998e-05/5.797, allocations: 77.97 kB / 3.315 GB, free: 0.582 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-05/5.797, allocations: 49.88 kB / 3.315 GB, free: 0.5469 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/5.813, allocations: 11.91 MB / 3.327 GB, free: 4.074 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007544/5.82, allocations: 2.817 MB / 3.33 GB, free: 1.215 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003193/5.823, allocations: 155.7 kB / 3.33 GB, free: 1.062 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006384/5.83, allocations: 226.9 kB / 3.33 GB, free: 0.8438 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004766/5.83, allocations: 398 kB / 3.33 GB, free: 492 kB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004609/5.831, allocations: 259.9 kB / 3.331 GB, free: 232 kB / 1.998 GB Notification: Performance of sorting global known variables: time 0.01969/5.85, allocations: 11.54 MB / 3.342 GB, free: 4.77 MB / 2.014 GB Notification: Performance of sort global known variables: time 8.82e-07/5.85, allocations: 4 kB / 3.342 GB, free: 4.766 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.01921/5.87, allocations: 5.285 MB / 3.347 GB, free: 15.47 MB / 2.029 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.0268/5.896, allocations: 16.85 MB / 3.364 GB, free: 14.55 MB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.008997/5.906, allocations: 5.494 MB / 3.369 GB, free: 9.355 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 3.629e-05/5.906, allocations: 16.28 kB / 3.369 GB, free: 9.34 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/5.909, allocations: 2.586 MB / 3.372 GB, free: 6.918 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04826/5.957, allocations: 9.941 MB / 3.381 GB, free: 13.46 MB / 2.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1933/6.151, allocations: 114.3 MB / 3.493 GB, free: 8 MB / 2.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007476/6.158, allocations: 7.42 MB / 3.5 GB, free: 0.5469 MB / 2.17 GB Notification: Performance of simCode: alias equations: time 0.0119/6.17, allocations: 3.159 MB / 3.503 GB, free: 13.47 MB / 2.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009446/6.18, allocations: 7.805 MB / 3.511 GB, free: 5.668 MB / 2.186 GB Notification: Performance of SimCode: time 1.743e-06/6.18, allocations: 0 / 3.511 GB, free: 5.668 MB / 2.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.893/9.073, allocations: 0.4918 GB / 4.003 GB, free: 1.04 GB / 2.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.36/68.44, allocations: 7.75 kB / 4.003 GB, free: 1.04 GB / 2.295 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/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) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/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