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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.08 kB / 1.056 GB, free: 2.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2861, allocations: 160.7 MB / 1.213 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.476/3.762, allocations: 1.38 GB / 2.593 GB, free: 91.51 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 0.3713/4.133, allocations: 335.6 MB / 2.921 GB, free: 24.86 MB / 1.717 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04752/4.181, allocations: 1.224 MB / 2.922 GB, free: 23.93 MB / 1.717 GB Notification: Performance of NFTyping.typeComponents: time 0.03301/4.214, allocations: 13.66 MB / 2.935 GB, free: 10.68 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.08832/4.302, allocations: 33.92 MB / 2.968 GB, free: 13.29 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.04993/4.352, allocations: 19.87 MB / 2.988 GB, free: 11.06 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 0.08493/4.437, allocations: 57.85 MB / 3.044 GB, free: 1.055 MB / 1.811 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04057/4.478, allocations: 18.05 MB / 3.062 GB, free: 14.83 MB / 1.842 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06387/4.542, allocations: 25.68 MB / 3.087 GB, free: 5.102 MB / 1.857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03762/4.579, allocations: 18.57 MB / 3.105 GB, free: 2.434 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.009656/4.589, allocations: 2.129 MB / 3.107 GB, free: 312 kB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04888/4.638, allocations: 18.29 MB / 3.125 GB, free: 13.98 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.0119/4.65, allocations: 5.106 MB / 3.13 GB, free: 8.859 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.02647/4.676, allocations: 11.17 MB / 3.141 GB, free: 13.64 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.094/4.77, allocations: 42.28 MB / 3.182 GB, free: 3.223 MB / 1.951 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/4.77, allocations: 4 kB / 3.182 GB, free: 3.219 MB / 1.951 GB Notification: Performance of FrontEnd: time 2.134e-06/4.77, allocations: 4 kB / 3.182 GB, free: 3.215 MB / 1.951 GB Notification: Performance of Transformations before backend: time 0.001268/4.771, allocations: 0 / 3.182 GB, free: 3.215 MB / 1.951 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.05816/4.829, allocations: 21.59 MB / 3.203 GB, free: 13.36 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/4.83, allocations: 8.031 kB / 3.203 GB, free: 13.35 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006759/4.836, allocations: 1.638 MB / 3.205 GB, free: 11.7 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/4.848, allocations: 2.357 MB / 3.207 GB, free: 9.328 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04492/4.893, allocations: 19.06 MB / 3.226 GB, free: 6.164 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/4.895, allocations: 0.9778 MB / 3.227 GB, free: 5.184 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004325/4.899, allocations: 1.281 MB / 3.228 GB, free: 3.902 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/4.939, allocations: 14.62 MB / 3.242 GB, free: 4.496 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005333/4.94, allocations: 43.62 kB / 3.242 GB, free: 4.453 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/4.943, allocations: 0.5351 MB / 3.243 GB, free: 3.918 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004096/4.943, allocations: 351.9 kB / 3.243 GB, free: 3.574 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.21/6.154, allocations: 10.09 MB / 3.253 GB, free: 0.9827 GB / 2.014 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.09663/6.25, allocations: 76.73 MB / 3.328 GB, free: 0.9294 GB / 2.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/6.257, allocations: 4.354 MB / 3.332 GB, free: 0.9273 GB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003256/6.261, allocations: 2.295 MB / 3.335 GB, free: 0.9263 GB / 2.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07587/6.336, allocations: 51.67 MB / 3.385 GB, free: 0.884 GB / 2.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/6.337, allocations: 124.3 kB / 3.385 GB, free: 0.8839 GB / 2.014 GB Notification: Performance of pre-optimization done (n=412): time 5.871e-06/6.337, allocations: 0 / 3.385 GB, free: 0.8839 GB / 2.014 GB Notification: Performance of matching and sorting (n=412): time 0.01595/6.353, allocations: 7.086 MB / 3.392 GB, free: 0.8804 GB / 2.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/6.353, allocations: 0.7971 MB / 3.393 GB, free: 0.8795 GB / 2.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.029/6.382, allocations: 16.68 MB / 3.409 GB, free: 0.8712 GB / 2.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/6.383, allocations: 141.2 kB / 3.409 GB, free: 0.8711 GB / 2.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.007864/6.391, allocations: 8.687 MB / 3.418 GB, free: 0.8641 GB / 2.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/6.393, allocations: 1.532 MB / 3.419 GB, free: 0.863 GB / 2.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002244/6.395, allocations: 1.492 MB / 3.421 GB, free: 0.8621 GB / 2.014 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/6.395, allocations: 305.1 kB / 3.421 GB, free: 0.8618 GB / 2.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/6.398, allocations: 2.077 MB / 3.423 GB, free: 0.8608 GB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/6.402, allocations: 5.292 MB / 3.428 GB, free: 0.8559 GB / 2.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007352/6.41, allocations: 7.13 MB / 3.435 GB, free: 0.8504 GB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.95e-05/6.41, allocations: 27.53 kB / 3.435 GB, free: 0.8504 GB / 2.014 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01652/6.426, allocations: 8.448 MB / 3.443 GB, free: 0.8462 GB / 2.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/6.426, allocations: 42.2 kB / 3.443 GB, free: 0.8462 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-05/6.427, allocations: 83.81 kB / 3.444 GB, free: 0.8462 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001157/6.427, allocations: 121.1 kB / 3.444 GB, free: 0.8462 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/6.431, allocations: 1.455 MB / 3.445 GB, free: 0.8459 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/6.431, allocations: 174 kB / 3.445 GB, free: 0.8459 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/6.443, allocations: 1.347 MB / 3.447 GB, free: 0.8453 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/6.445, allocations: 398.1 kB / 3.447 GB, free: 0.8452 GB / 2.014 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.0102/6.455, allocations: 3.566 MB / 3.45 GB, free: 0.843 GB / 2.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006646/6.462, allocations: 1.755 MB / 3.452 GB, free: 0.8421 GB / 2.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/6.478, allocations: 7.565 MB / 3.46 GB, free: 0.8382 GB / 2.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002076/6.478, allocations: 85.72 kB / 3.46 GB, free: 0.8381 GB / 2.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-05/6.478, allocations: 8 kB / 3.46 GB, free: 0.8381 GB / 2.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00422/6.482, allocations: 3.85 MB / 3.463 GB, free: 0.834 GB / 2.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04989/6.532, allocations: 28.84 MB / 3.492 GB, free: 0.8057 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001081/6.532, allocations: 32 kB / 3.492 GB, free: 0.8057 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/6.535, allocations: 0.7801 MB / 3.492 GB, free: 0.8049 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.181e-05/6.535, allocations: 51.94 kB / 3.492 GB, free: 0.8048 GB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006438/6.536, allocations: 152 kB / 3.493 GB, free: 0.8047 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.997e-05/6.536, allocations: 75.72 kB / 3.493 GB, free: 0.8046 GB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-05/6.536, allocations: 51.66 kB / 3.493 GB, free: 0.8046 GB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/6.551, allocations: 12.04 MB / 3.504 GB, free: 0.7923 GB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007101/6.558, allocations: 2.95 MB / 3.507 GB, free: 0.7894 GB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003952/6.562, allocations: 156.8 kB / 3.507 GB, free: 0.7893 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008164/6.57, allocations: 261.8 kB / 3.508 GB, free: 0.7891 GB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005481/6.571, allocations: 398.7 kB / 3.508 GB, free: 0.7887 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005227/6.571, allocations: 259.8 kB / 3.508 GB, free: 0.7884 GB / 2.014 GB Notification: Performance of sorting global known variables: time 0.0214/6.592, allocations: 11.86 MB / 3.52 GB, free: 0.7769 GB / 2.014 GB Notification: Performance of sort global known variables: time 2.7e-07/6.592, allocations: 0 / 3.52 GB, free: 0.7769 GB / 2.014 GB Notification: Performance of remove unused functions: time 0.02058/6.613, allocations: 5.404 MB / 3.525 GB, free: 0.7722 GB / 2.014 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.02672/6.64, allocations: 17.03 MB / 3.542 GB, free: 0.7555 GB / 2.014 GB Notification: Performance of simCode: created initialization part: time 0.008306/6.648, allocations: 5.465 MB / 3.547 GB, free: 0.7502 GB / 2.014 GB Notification: Performance of simCode: created event and clocks part: time 3.242e-05/6.648, allocations: 11.28 kB / 3.547 GB, free: 0.7502 GB / 2.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/6.651, allocations: 2.422 MB / 3.55 GB, free: 0.7478 GB / 2.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05087/6.702, allocations: 10.02 MB / 3.559 GB, free: 0.7386 GB / 2.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.187/6.889, allocations: 118.7 MB / 3.675 GB, free: 0.6182 GB / 2.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006776/6.896, allocations: 7.779 MB / 3.683 GB, free: 0.6106 GB / 2.014 GB Notification: Performance of simCode: alias equations: time 0.01257/6.908, allocations: 3.263 MB / 3.686 GB, free: 0.6076 GB / 2.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/6.918, allocations: 8.056 MB / 3.694 GB, free: 0.5997 GB / 2.014 GB Notification: Performance of SimCode: time 1.523e-06/6.918, allocations: 0 / 3.694 GB, free: 0.5997 GB / 2.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5911/7.509, allocations: 0.4997 GB / 4.194 GB, free: 104.8 MB / 2.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 77.3/84.81, allocations: 7.438 kB / 4.194 GB, free: 104.8 MB / 2.014 GB " [Timeout remaining time 215] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 94.53920188592747]