Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_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.001436/0.001436, allocations: 108 kB / 15.61 MB, free: 152 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.001361/0.001361, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 74.84 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2289, allocations: 159.1 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.676/2.905, allocations: 1.369 GB / 2.433 GB, free: 78.18 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.2725/3.177, allocations: 333.9 MB / 2.76 GB, free: 11.14 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03518/3.212, allocations: 1.229 MB / 2.761 GB, free: 10.37 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.02685/3.239, allocations: 13.25 MB / 2.774 GB, free: 14.05 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.07625/3.316, allocations: 32.25 MB / 2.805 GB, free: 2.34 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.04125/3.357, allocations: 19.63 MB / 2.824 GB, free: 15.89 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.06668/3.424, allocations: 58.14 MB / 2.881 GB, free: 5.625 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03362/3.457, allocations: 23.36 MB / 2.904 GB, free: 14.09 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04649/3.504, allocations: 24.89 MB / 2.928 GB, free: 5.156 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02857/3.532, allocations: 17.73 MB / 2.946 GB, free: 3.324 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.00546/3.538, allocations: 2.129 MB / 2.948 GB, free: 1.195 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03727/3.575, allocations: 17.81 MB / 2.965 GB, free: 15.36 MB / 1.764 GB Notification: Performance of NFScalarize.scalarize: time 0.006688/3.582, allocations: 4.886 MB / 2.97 GB, free: 10.46 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.01732/3.599, allocations: 11.17 MB / 2.981 GB, free: 15.23 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.05541/3.654, allocations: 40.54 MB / 3.02 GB, free: 6.586 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 4.798e-06/3.655, allocations: 0 / 3.02 GB, free: 6.586 MB / 1.811 GB Notification: Performance of FrontEnd: time 1.242e-06/3.655, allocations: 0 / 3.02 GB, free: 6.586 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.0005651/3.655, allocations: 0 / 3.02 GB, free: 6.586 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: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.03261/3.688, allocations: 20.93 MB / 3.041 GB, free: 1.414 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/3.688, allocations: 12.03 kB / 3.041 GB, free: 1.402 MB / 1.826 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4015/4.089, allocations: 1.636 MB / 3.042 GB, free: 0.9411 GB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006265/4.096, allocations: 2.242 MB / 3.045 GB, free: 0.9411 GB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02277/4.118, allocations: 17.66 MB / 3.062 GB, free: 0.9355 GB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004096/4.119, allocations: 0.9702 MB / 3.063 GB, free: 0.9351 GB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/4.12, allocations: 1.292 MB / 3.064 GB, free: 0.9346 GB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/4.14, allocations: 14.61 MB / 3.078 GB, free: 0.9275 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/4.14, allocations: 52.33 kB / 3.078 GB, free: 0.9275 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008519/4.141, allocations: 0.5361 MB / 3.079 GB, free: 0.9271 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/4.141, allocations: 346.9 kB / 3.079 GB, free: 0.9271 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/4.156, allocations: 10.09 MB / 3.089 GB, free: 0.9232 GB / 1.826 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.05266/4.208, allocations: 77.1 MB / 3.164 GB, free: 0.8586 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/4.213, allocations: 4.563 MB / 3.169 GB, free: 0.856 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/4.215, allocations: 2.434 MB / 3.171 GB, free: 0.8547 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06563/4.281, allocations: 51.49 MB / 3.221 GB, free: 0.8116 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/4.281, allocations: 126.3 kB / 3.222 GB, free: 0.8115 GB / 1.826 GB Notification: Performance of pre-optimization done (n=412): time 7.194e-06/4.281, allocations: 0 / 3.222 GB, free: 0.8115 GB / 1.826 GB Notification: Performance of matching and sorting (n=412): time 0.01112/4.292, allocations: 7.002 MB / 3.228 GB, free: 0.8057 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/4.292, allocations: 0.789 MB / 3.229 GB, free: 0.8048 GB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01905/4.311, allocations: 16.68 MB / 3.245 GB, free: 0.7886 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.0006063/4.312, allocations: 141.7 kB / 3.246 GB, free: 0.7884 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.004398/4.316, allocations: 8.694 MB / 3.254 GB, free: 0.7799 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009457/4.317, allocations: 1.469 MB / 3.256 GB, free: 0.7785 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/4.319, allocations: 1.487 MB / 3.257 GB, free: 0.777 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 3.016e-05/4.319, allocations: 303.7 kB / 3.257 GB, free: 0.7767 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/4.321, allocations: 2.082 MB / 3.259 GB, free: 0.7747 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/4.324, allocations: 5.283 MB / 3.264 GB, free: 0.7683 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005254/4.33, allocations: 7.138 MB / 3.271 GB, free: 0.7603 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/4.33, allocations: 24 kB / 3.271 GB, free: 0.7603 GB / 1.826 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01007/4.34, allocations: 8.362 MB / 3.28 GB, free: 0.7521 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/4.34, allocations: 40 kB / 3.28 GB, free: 0.7521 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.852e-05/4.34, allocations: 83.84 kB / 3.28 GB, free: 0.752 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.413e-05/4.34, allocations: 120 kB / 3.28 GB, free: 0.7519 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/4.343, allocations: 1.459 MB / 3.281 GB, free: 0.7505 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.878e-05/4.343, allocations: 167.4 kB / 3.281 GB, free: 0.7503 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006794/4.35, allocations: 1.338 MB / 3.283 GB, free: 0.749 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/4.351, allocations: 399.9 kB / 3.283 GB, free: 0.7486 GB / 1.826 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.004193/4.355, allocations: 3.566 MB / 3.287 GB, free: 0.7451 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00209/4.357, allocations: 1.667 MB / 3.288 GB, free: 0.7435 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00804/4.365, allocations: 7.572 MB / 3.296 GB, free: 0.7362 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-05/4.365, allocations: 83.94 kB / 3.296 GB, free: 0.7361 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/4.365, allocations: 8 kB / 3.296 GB, free: 0.7361 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002672/4.368, allocations: 3.834 MB / 3.299 GB, free: 0.732 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/4.393, allocations: 28.78 MB / 3.328 GB, free: 0.7036 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/4.393, allocations: 32.97 kB / 3.328 GB, free: 0.7035 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/4.395, allocations: 0.7762 MB / 3.328 GB, free: 0.7028 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.822e-05/4.395, allocations: 48 kB / 3.328 GB, free: 0.7027 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/4.395, allocations: 155.9 kB / 3.329 GB, free: 0.7026 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-05/4.395, allocations: 67.8 kB / 3.329 GB, free: 0.7025 GB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/4.395, allocations: 63.56 kB / 3.329 GB, free: 0.7025 GB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/4.405, allocations: 11.96 MB / 3.34 GB, free: 0.6902 GB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/4.409, allocations: 2.837 MB / 3.343 GB, free: 0.6874 GB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/4.411, allocations: 163.5 kB / 3.343 GB, free: 0.6872 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00501/4.416, allocations: 255 kB / 3.343 GB, free: 0.687 GB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/4.416, allocations: 398.6 kB / 3.344 GB, free: 0.6866 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/4.416, allocations: 259.8 kB / 3.344 GB, free: 0.6864 GB / 1.826 GB Notification: Performance of sorting global known variables: time 0.01164/4.428, allocations: 11.86 MB / 3.356 GB, free: 0.6749 GB / 1.826 GB Notification: Performance of sort global known variables: time 1.2e-07/4.428, allocations: 0 / 3.356 GB, free: 0.6749 GB / 1.826 GB Notification: Performance of remove unused functions: time 0.01113/4.439, allocations: 5.355 MB / 3.361 GB, free: 0.6699 GB / 1.826 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.01622/4.455, allocations: 16.78 MB / 3.377 GB, free: 0.6534 GB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.006884/4.462, allocations: 5.952 MB / 3.383 GB, free: 0.6476 GB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/4.462, allocations: 4 kB / 3.383 GB, free: 0.6476 GB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/4.465, allocations: 2.581 MB / 3.386 GB, free: 0.6451 GB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03583/4.5, allocations: 10.08 MB / 3.396 GB, free: 0.636 GB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/4.652, allocations: 276.4 MB / 3.665 GB, free: 354 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00487/4.657, allocations: 7.775 MB / 3.673 GB, free: 346.2 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.009848/4.667, allocations: 3.246 MB / 3.676 GB, free: 343.1 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005985/4.673, allocations: 8.06 MB / 3.684 GB, free: 335 MB / 1.826 GB Notification: Performance of SimCode: time 4.61e-07/4.673, allocations: 0 / 3.684 GB, free: 335 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 34.33/39, allocations: 0.4932 GB / 4.177 GB, free: 0.8257 GB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.85/72.85, allocations: 6.719 kB / 4.177 GB, free: 0.8257 GB / 1.826 GB (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches