Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 103.2 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.002248/0.002248, allocations: 188.6 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 497.2 MB / 0.7812 GB, free: 12.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9561/0.958, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.16/4.118, allocations: 1.382 GB / 2.686 GB, free: 111.2 MB / 1.811 GB Notification: Performance of NFInst.instExpressions: time 0.3504/4.468, allocations: 335.6 MB / 3.013 GB, free: 44.31 MB / 1.811 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05374/4.522, allocations: 1.224 MB / 3.014 GB, free: 43.54 MB / 1.811 GB Notification: Performance of NFTyping.typeComponents: time 0.03618/4.558, allocations: 13.66 MB / 3.028 GB, free: 30.47 MB / 1.811 GB Notification: Performance of NFTyping.typeBindings: time 0.08825/4.646, allocations: 33.79 MB / 3.061 GB, free: 0.8008 MB / 1.811 GB Notification: Performance of NFTyping.typeClassSections: time 0.05168/4.698, allocations: 19.87 MB / 3.08 GB, free: 13.1 MB / 1.842 GB Notification: Performance of NFFlatten.flatten: time 0.09019/4.788, allocations: 57.7 MB / 3.137 GB, free: 3.258 MB / 1.889 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04049/4.829, allocations: 18.05 MB / 3.154 GB, free: 1.035 MB / 1.904 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07244/4.901, allocations: 28.15 MB / 3.182 GB, free: 4.82 MB / 1.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03851/4.939, allocations: 18.26 MB / 3.199 GB, free: 2.477 MB / 1.951 GB Notification: Performance of NFPackage.collectConstants: time 0.009353/4.949, allocations: 2.133 MB / 3.202 GB, free: 352 kB / 1.951 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04925/4.998, allocations: 18.2 MB / 3.219 GB, free: 14.12 MB / 1.982 GB Notification: Performance of NFScalarize.scalarize: time 0.01058/5.009, allocations: 5.09 MB / 3.224 GB, free: 9.008 MB / 1.982 GB Notification: Performance of NFVerifyModel.verify: time 0.02541/5.034, allocations: 11.19 MB / 3.235 GB, free: 13.76 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.08391/5.118, allocations: 41.17 MB / 3.275 GB, free: 4.461 MB / 2.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/5.118, allocations: 0 / 3.275 GB, free: 4.461 MB / 2.029 GB Notification: Performance of FrontEnd: time 1.903e-06/5.118, allocations: 0 / 3.275 GB, free: 4.461 MB / 2.029 GB Notification: Performance of Transformations before backend: time 0.001148/5.119, allocations: 0 / 3.275 GB, free: 4.461 MB / 2.029 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.05406/5.173, allocations: 21.57 MB / 3.296 GB, free: 14.62 MB / 2.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/5.173, allocations: 12.03 kB / 3.297 GB, free: 14.61 MB / 2.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00546/5.179, allocations: 1.634 MB / 3.298 GB, free: 12.96 MB / 2.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009718/5.188, allocations: 2.361 MB / 3.3 GB, free: 10.59 MB / 2.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04108/5.23, allocations: 19.03 MB / 3.319 GB, free: 7.449 MB / 2.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009749/5.23, allocations: 0.9739 MB / 3.32 GB, free: 6.473 MB / 2.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003654/5.234, allocations: 1.293 MB / 3.321 GB, free: 5.18 MB / 2.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/5.271, allocations: 14.62 MB / 3.335 GB, free: 5.781 MB / 2.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/5.271, allocations: 47.58 kB / 3.336 GB, free: 5.734 MB / 2.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/5.273, allocations: 0.5312 MB / 3.336 GB, free: 5.203 MB / 2.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/5.273, allocations: 340 kB / 3.336 GB, free: 4.871 MB / 2.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/5.294, allocations: 10.11 MB / 3.346 GB, free: 10.76 MB / 2.107 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.7076/6.002, allocations: 76.65 MB / 3.421 GB, free: 0.9667 GB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/6.009, allocations: 4.354 MB / 3.425 GB, free: 0.9646 GB / 2.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/6.012, allocations: 2.312 MB / 3.428 GB, free: 0.9636 GB / 2.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07488/6.087, allocations: 51.67 MB / 3.478 GB, free: 0.9262 GB / 2.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/6.087, allocations: 118.1 kB / 3.478 GB, free: 0.9262 GB / 2.123 GB Notification: Performance of pre-optimization done (n=412): time 6.533e-06/6.087, allocations: 0 / 3.478 GB, free: 0.9262 GB / 2.123 GB Notification: Performance of matching and sorting (n=412): time 0.01491/6.102, allocations: 7.085 MB / 3.485 GB, free: 0.9235 GB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/6.102, allocations: 0.7892 MB / 3.486 GB, free: 0.9226 GB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03235/6.135, allocations: 16.68 MB / 3.502 GB, free: 0.9167 GB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/6.136, allocations: 142.7 kB / 3.502 GB, free: 0.9166 GB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.006778/6.143, allocations: 8.693 MB / 3.511 GB, free: 0.9103 GB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/6.144, allocations: 1.53 MB / 3.512 GB, free: 0.9093 GB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/6.146, allocations: 1.501 MB / 3.514 GB, free: 0.9086 GB / 2.123 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/6.146, allocations: 301.1 kB / 3.514 GB, free: 0.9083 GB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/6.149, allocations: 2.086 MB / 3.516 GB, free: 0.9076 GB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004842/6.154, allocations: 5.289 MB / 3.521 GB, free: 0.903 GB / 2.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007269/6.161, allocations: 7.13 MB / 3.528 GB, free: 0.8979 GB / 2.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.846e-05/6.161, allocations: 22.44 kB / 3.528 GB, free: 0.8979 GB / 2.123 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01346/6.175, allocations: 8.445 MB / 3.536 GB, free: 0.8944 GB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/6.175, allocations: 39.56 kB / 3.536 GB, free: 0.8944 GB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/6.175, allocations: 84.69 kB / 3.537 GB, free: 0.8944 GB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.703e-05/6.175, allocations: 118.3 kB / 3.537 GB, free: 0.8944 GB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/6.178, allocations: 1.454 MB / 3.538 GB, free: 0.8942 GB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000104/6.179, allocations: 171.8 kB / 3.538 GB, free: 0.8942 GB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00933/6.188, allocations: 1.356 MB / 3.54 GB, free: 0.8933 GB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008344/6.189, allocations: 400.8 kB / 3.54 GB, free: 0.8933 GB / 2.123 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.006449/6.195, allocations: 3.564 MB / 3.543 GB, free: 0.8912 GB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004932/6.2, allocations: 1.752 MB / 3.545 GB, free: 0.8903 GB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/6.212, allocations: 7.558 MB / 3.553 GB, free: 0.8874 GB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/6.212, allocations: 81.94 kB / 3.553 GB, free: 0.8873 GB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/6.212, allocations: 7.906 kB / 3.553 GB, free: 0.8873 GB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/6.215, allocations: 3.851 MB / 3.556 GB, free: 0.8847 GB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04096/6.256, allocations: 28.79 MB / 3.585 GB, free: 0.8662 GB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/6.256, allocations: 31.56 kB / 3.585 GB, free: 0.8662 GB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/6.259, allocations: 0.7786 MB / 3.585 GB, free: 0.866 GB / 2.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-05/6.259, allocations: 59.69 kB / 3.585 GB, free: 0.866 GB / 2.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/6.259, allocations: 149.5 kB / 3.586 GB, free: 0.8659 GB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-05/6.259, allocations: 70.97 kB / 3.586 GB, free: 0.8659 GB / 2.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.115e-05/6.259, allocations: 51.66 kB / 3.586 GB, free: 0.8659 GB / 2.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/6.272, allocations: 12.04 MB / 3.597 GB, free: 0.8579 GB / 2.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006886/6.279, allocations: 2.939 MB / 3.6 GB, free: 0.8556 GB / 2.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004106/6.283, allocations: 155.4 kB / 3.6 GB, free: 0.8555 GB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008925/6.292, allocations: 255.1 kB / 3.601 GB, free: 0.8554 GB / 2.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009017/6.293, allocations: 405 kB / 3.601 GB, free: 0.8551 GB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006285/6.294, allocations: 261.4 kB / 3.601 GB, free: 0.8551 GB / 2.123 GB Notification: Performance of sorting global known variables: time 0.02095/6.315, allocations: 11.86 MB / 3.613 GB, free: 0.8491 GB / 2.123 GB Notification: Performance of sort global known variables: time 1.8e-07/6.315, allocations: 0 / 3.613 GB, free: 0.8491 GB / 2.123 GB Notification: Performance of remove unused functions: time 0.01759/6.332, allocations: 5.407 MB / 3.618 GB, free: 0.8454 GB / 2.123 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.02361/6.356, allocations: 16.91 MB / 3.635 GB, free: 0.8287 GB / 2.123 GB Notification: Performance of simCode: created initialization part: time 0.008961/6.365, allocations: 5.476 MB / 3.64 GB, free: 0.8234 GB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 4.71e-05/6.365, allocations: 11.38 kB / 3.64 GB, free: 0.8234 GB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003528/6.368, allocations: 2.422 MB / 3.642 GB, free: 0.821 GB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04442/6.413, allocations: 10 MB / 3.652 GB, free: 0.8119 GB / 2.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1712/6.584, allocations: 118.7 MB / 3.768 GB, free: 0.6915 GB / 2.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006568/6.591, allocations: 7.783 MB / 3.776 GB, free: 0.6838 GB / 2.123 GB Notification: Performance of simCode: alias equations: time 0.01122/6.602, allocations: 3.241 MB / 3.779 GB, free: 0.6808 GB / 2.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007749/6.609, allocations: 8.064 MB / 3.787 GB, free: 0.6729 GB / 2.123 GB Notification: Performance of SimCode: time 1.573e-06/6.609, allocations: 0 / 3.787 GB, free: 0.6729 GB / 2.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.516/8.125, allocations: 0.4964 GB / 4.283 GB, free: 182.6 MB / 2.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.97/74.09, allocations: 11.98 kB / 4.283 GB, free: 182.6 MB / 2.123 GB " [Timeout remaining time 226] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.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: 83.77272517094389]