Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8513/0.8513, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.666/1.666, allocations: 377.9 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.508e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.468/2.468, allocations: 1.249 GB / 2.23 GB, free: 104 MB / 1.635 GB Notification: Performance of NFInst.instExpressions: time 0.2874/2.755, allocations: 311.2 MB / 2.534 GB, free: 70.19 MB / 1.635 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03773/2.793, allocations: 1.69 MB / 2.536 GB, free: 70.19 MB / 1.635 GB Notification: Performance of NFTyping.typeComponents: time 0.03029/2.823, allocations: 13.61 MB / 2.549 GB, free: 62.42 MB / 1.635 GB Notification: Performance of NFTyping.typeBindings: time 0.07322/2.896, allocations: 34.76 MB / 2.583 GB, free: 40.8 MB / 1.635 GB Notification: Performance of NFTyping.typeClassSections: time 0.03611/2.932, allocations: 21.13 MB / 2.604 GB, free: 25.84 MB / 1.635 GB Notification: Performance of NFFlatten.flatten: time 0.0591/2.992, allocations: 58.66 MB / 2.661 GB, free: 1.398 MB / 1.667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0353/3.027, allocations: 16.77 MB / 2.677 GB, free: 1.184 MB / 1.682 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07382/3.101, allocations: 36.81 MB / 2.713 GB, free: 14.34 MB / 1.729 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02572/3.126, allocations: 15.97 MB / 2.729 GB, free: 15.72 MB / 1.745 GB Notification: Performance of NFPackage.collectConstants: time 0.006841/3.133, allocations: 2.129 MB / 2.731 GB, free: 13.59 MB / 1.745 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03281/3.166, allocations: 15.72 MB / 2.746 GB, free: 14.53 MB / 1.76 GB Notification: Performance of NFScalarize.scalarize: time 0.007446/3.173, allocations: 5.231 MB / 2.751 GB, free: 9.578 MB / 1.76 GB Notification: Performance of NFVerifyModel.verify: time 0.0166/3.19, allocations: 7.336 MB / 2.758 GB, free: 2.523 MB / 1.76 GB Notification: Performance of NFConvertDAE.convert: time 0.06195/3.252, allocations: 42.46 MB / 2.8 GB, free: 9.637 MB / 1.807 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/3.252, allocations: 4 kB / 2.8 GB, free: 9.633 MB / 1.807 GB Notification: Performance of FrontEnd: time 1.693e-06/3.252, allocations: 0 / 2.8 GB, free: 9.633 MB / 1.807 GB Notification: Performance of Transformations before backend: time 0.001179/3.253, allocations: 0 / 2.8 GB, free: 9.633 MB / 1.807 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.04619/3.299, allocations: 21.34 MB / 2.821 GB, free: 4.367 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/3.299, allocations: 12.03 kB / 2.821 GB, free: 4.355 MB / 1.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0051/3.305, allocations: 1.633 MB / 2.822 GB, free: 2.715 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0084/3.313, allocations: 2.369 MB / 2.825 GB, free: 340 kB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/3.343, allocations: 18.96 MB / 2.843 GB, free: 13.66 MB / 1.854 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006807/3.344, allocations: 0.97 MB / 2.844 GB, free: 12.68 MB / 1.854 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/3.347, allocations: 1.288 MB / 2.845 GB, free: 11.4 MB / 1.854 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/3.375, allocations: 17.06 MB / 2.862 GB, free: 8.996 MB / 1.87 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/3.375, allocations: 43.62 kB / 2.862 GB, free: 8.953 MB / 1.87 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001917/3.377, allocations: 0.5384 MB / 2.863 GB, free: 8.418 MB / 1.87 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/3.377, allocations: 347.9 kB / 2.863 GB, free: 8.078 MB / 1.87 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/3.393, allocations: 10.08 MB / 2.873 GB, free: 14.03 MB / 1.885 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.06581/3.458, allocations: 59.77 MB / 2.931 GB, free: 1.504 MB / 1.932 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4153/3.874, allocations: 4.344 MB / 2.935 GB, free: 0.9664 GB / 1.932 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/3.876, allocations: 2.285 MB / 2.938 GB, free: 0.9661 GB / 1.932 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03688/3.913, allocations: 22.88 MB / 2.96 GB, free: 0.9651 GB / 1.932 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/3.913, allocations: 127.7 kB / 2.96 GB, free: 0.965 GB / 1.932 GB Notification: Performance of pre-optimization done (n=412): time 6.663e-06/3.913, allocations: 0 / 2.96 GB, free: 0.965 GB / 1.932 GB Notification: Performance of matching and sorting (n=412): time 0.01388/3.927, allocations: 7.084 MB / 2.967 GB, free: 0.9631 GB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/3.927, allocations: 0.7959 MB / 2.968 GB, free: 0.9622 GB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0306/3.958, allocations: 16.91 MB / 2.984 GB, free: 0.9563 GB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/3.959, allocations: 146.2 kB / 2.984 GB, free: 0.9562 GB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.007477/3.966, allocations: 8.705 MB / 2.993 GB, free: 0.9509 GB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.001808/3.968, allocations: 1.516 MB / 2.994 GB, free: 0.95 GB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/3.97, allocations: 1.475 MB / 2.996 GB, free: 0.9493 GB / 1.932 GB Notification: Performance of setup shared object (initialization): time 3.328e-05/3.97, allocations: 303.2 kB / 2.996 GB, free: 0.949 GB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/3.973, allocations: 2.086 MB / 2.998 GB, free: 0.9482 GB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/3.978, allocations: 9.613 MB / 3.008 GB, free: 0.9385 GB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007161/3.985, allocations: 7.143 MB / 3.015 GB, free: 0.9333 GB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/3.986, allocations: 21.97 kB / 3.015 GB, free: 0.9333 GB / 1.932 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01548/4.001, allocations: 8.462 MB / 3.023 GB, free: 0.9298 GB / 1.932 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/4.001, allocations: 39.31 kB / 3.023 GB, free: 0.9298 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-05/4.001, allocations: 83.22 kB / 3.023 GB, free: 0.9298 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/4.001, allocations: 127.7 kB / 3.023 GB, free: 0.9298 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/4.004, allocations: 1.448 MB / 3.024 GB, free: 0.9296 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/4.004, allocations: 175.5 kB / 3.025 GB, free: 0.9296 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007402/4.012, allocations: 1.351 MB / 3.026 GB, free: 0.9288 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009563/4.013, allocations: 398.5 kB / 3.026 GB, free: 0.9288 GB / 1.932 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.005903/4.019, allocations: 3.579 MB / 3.03 GB, free: 0.9268 GB / 1.932 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003772/4.022, allocations: 1.759 MB / 3.032 GB, free: 0.9258 GB / 1.932 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009861/4.032, allocations: 7.744 MB / 3.039 GB, free: 0.9229 GB / 1.932 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.85e-05/4.032, allocations: 83.25 kB / 3.039 GB, free: 0.9228 GB / 1.932 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/4.032, allocations: 8.906 kB / 3.039 GB, free: 0.9228 GB / 1.932 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/4.035, allocations: 3.884 MB / 3.043 GB, free: 0.9202 GB / 1.932 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/4.067, allocations: 27.04 MB / 3.069 GB, free: 0.9071 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/4.067, allocations: 28 kB / 3.069 GB, free: 0.9071 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/4.069, allocations: 0.782 MB / 3.07 GB, free: 0.9064 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.907e-05/4.069, allocations: 55.94 kB / 3.07 GB, free: 0.9064 GB / 1.932 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/4.069, allocations: 154.9 kB / 3.07 GB, free: 0.9063 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.582e-05/4.069, allocations: 71.11 kB / 3.07 GB, free: 0.9062 GB / 1.932 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/4.069, allocations: 47.81 kB / 3.071 GB, free: 0.9062 GB / 1.932 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/4.079, allocations: 12.18 MB / 3.082 GB, free: 0.8946 GB / 1.932 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005914/4.085, allocations: 2.865 MB / 3.085 GB, free: 0.8921 GB / 1.932 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002759/4.088, allocations: 167 kB / 3.085 GB, free: 0.8919 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005168/4.093, allocations: 247.4 kB / 3.086 GB, free: 0.8917 GB / 1.932 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/4.093, allocations: 420.4 kB / 3.086 GB, free: 0.8915 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004009/4.094, allocations: 257.8 kB / 3.086 GB, free: 0.8913 GB / 1.932 GB Notification: Performance of sorting global known variables: time 0.01476/4.108, allocations: 11.93 MB / 3.098 GB, free: 0.8814 GB / 1.932 GB Notification: Performance of sort global known variables: time 1.61e-07/4.108, allocations: 0 / 3.098 GB, free: 0.8814 GB / 1.932 GB Notification: Performance of remove unused functions: time 0.01306/4.122, allocations: 5.43 MB / 3.103 GB, free: 0.8761 GB / 1.932 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.01743/4.139, allocations: 17.21 MB / 3.12 GB, free: 0.8594 GB / 1.932 GB Notification: Performance of simCode: created initialization part: time 0.008124/4.147, allocations: 5.522 MB / 3.125 GB, free: 0.8541 GB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 3.695e-05/4.147, allocations: 11.38 kB / 3.125 GB, free: 0.8541 GB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/4.15, allocations: 2.468 MB / 3.128 GB, free: 0.8517 GB / 1.932 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03047/4.18, allocations: 10.01 MB / 3.138 GB, free: 0.8425 GB / 1.932 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/4.36, allocations: 119.6 MB / 3.254 GB, free: 0.7212 GB / 1.932 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005471/4.365, allocations: 7.552 MB / 3.262 GB, free: 0.7138 GB / 1.932 GB Notification: Performance of simCode: alias equations: time 0.009164/4.374, allocations: 3.253 MB / 3.265 GB, free: 0.7108 GB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006468/4.381, allocations: 8.092 MB / 3.273 GB, free: 0.7029 GB / 1.932 GB Notification: Performance of SimCode: time 1.042e-06/4.381, allocations: 0 / 3.273 GB, free: 0.7029 GB / 1.932 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4251/4.806, allocations: 0.5262 GB / 3.799 GB, free: 184.1 MB / 1.932 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.01/37.82, allocations: 11.94 kB / 3.799 GB, free: 184.1 MB / 1.932 GB " [Timeout remaining time 262] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 43.86988181900233]