Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001054, allocations: 117.8 kB / 16.37 MB, free: 6 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.001153/0.001153, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.355/2.355, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.88 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.811/3.093, allocations: 1.37 GB / 2.396 GB, free: 68.85 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 1.21/4.303, allocations: 334 MB / 2.723 GB, free: 5.398 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04327/4.346, allocations: 1.221 MB / 2.724 GB, free: 5.398 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.04337/4.39, allocations: 13.25 MB / 2.737 GB, free: 5.398 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.08319/4.473, allocations: 32.24 MB / 2.768 GB, free: 5.164 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.04432/4.517, allocations: 19.81 MB / 2.788 GB, free: 5.008 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.09051/4.608, allocations: 58.22 MB / 2.844 GB, free: 20.71 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04778/4.656, allocations: 23.36 MB / 2.867 GB, free: 17.45 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0675/4.723, allocations: 25 MB / 2.892 GB, free: 16.07 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0424/4.766, allocations: 17.76 MB / 2.909 GB, free: 12.42 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.009077/4.775, allocations: 2.13 MB / 2.911 GB, free: 12.42 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0469/4.822, allocations: 17.98 MB / 2.929 GB, free: 12.19 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01071/4.833, allocations: 4.884 MB / 2.933 GB, free: 11.45 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.02929/4.862, allocations: 11.17 MB / 2.944 GB, free: 8.324 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.0696/4.932, allocations: 42.15 MB / 2.985 GB, free: 396 kB / 1.701 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/4.932, allocations: 2.906 kB / 2.985 GB, free: 396 kB / 1.701 GB Notification: Performance of FrontEnd: time 1.883e-06/4.932, allocations: 0 / 2.985 GB, free: 396 kB / 1.701 GB Notification: Performance of Transformations before backend: time 0.000968/4.933, allocations: 0 / 2.985 GB, free: 396 kB / 1.701 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.04859/4.981, allocations: 20.94 MB / 3.006 GB, free: 15.24 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/4.981, allocations: 8.031 kB / 3.006 GB, free: 15.23 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009047/4.99, allocations: 2.251 MB / 3.008 GB, free: 12.96 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03581/5.026, allocations: 18.93 MB / 3.027 GB, free: 164 kB / 1.732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008994/5.027, allocations: 0.97 MB / 3.027 GB, free: 15.18 MB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004013/5.031, allocations: 1.3 MB / 3.029 GB, free: 13.89 MB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/5.069, allocations: 14.61 MB / 3.043 GB, free: 14.64 MB / 1.764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004767/5.069, allocations: 45.66 kB / 3.043 GB, free: 14.62 MB / 1.764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003436/5.073, allocations: 0.5312 MB / 3.044 GB, free: 14.09 MB / 1.764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003509/5.073, allocations: 347.2 kB / 3.044 GB, free: 13.75 MB / 1.764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/5.095, allocations: 10.1 MB / 3.054 GB, free: 3.883 MB / 1.764 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.1141/5.209, allocations: 76.54 MB / 3.129 GB, free: 4.625 MB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008438/5.218, allocations: 4.572 MB / 3.133 GB, free: 15.88 MB / 1.857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004734/5.222, allocations: 2.431 MB / 3.135 GB, free: 13.39 MB / 1.857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08669/5.309, allocations: 51.67 MB / 3.186 GB, free: 2.41 MB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/5.309, allocations: 132.3 kB / 3.186 GB, free: 2.285 MB / 1.904 GB Notification: Performance of pre-optimization done (n=412): time 7.784e-06/5.309, allocations: 0 / 3.186 GB, free: 2.285 MB / 1.904 GB Notification: Performance of matching and sorting (n=412): time 0.01748/5.327, allocations: 6.988 MB / 3.193 GB, free: 11.36 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003403/5.327, allocations: 0.7927 MB / 3.194 GB, free: 10.4 MB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03837/5.366, allocations: 16.67 MB / 3.21 GB, free: 9.828 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.001273/5.367, allocations: 141.7 kB / 3.21 GB, free: 9.684 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.01159/5.379, allocations: 8.577 MB / 3.218 GB, free: 1.094 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.002461/5.381, allocations: 1.46 MB / 3.22 GB, free: 15.65 MB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003458/5.385, allocations: 1.483 MB / 3.221 GB, free: 14.16 MB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.0001066/5.385, allocations: 309.1 kB / 3.222 GB, free: 13.85 MB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/5.388, allocations: 2.078 MB / 3.224 GB, free: 11.77 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007106/5.395, allocations: 5.287 MB / 3.229 GB, free: 5.188 MB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/5.406, allocations: 7.138 MB / 3.236 GB, free: 13.3 MB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.637e-05/5.406, allocations: 20 kB / 3.236 GB, free: 13.29 MB / 1.967 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01974/5.425, allocations: 8.36 MB / 3.244 GB, free: 5.445 MB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/5.426, allocations: 42.03 kB / 3.244 GB, free: 5.406 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/5.426, allocations: 80 kB / 3.244 GB, free: 5.328 MB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/5.426, allocations: 123.7 kB / 3.244 GB, free: 5.211 MB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00541/5.431, allocations: 1.459 MB / 3.246 GB, free: 3.75 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002242/5.432, allocations: 171.4 kB / 3.246 GB, free: 3.582 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/5.444, allocations: 1.325 MB / 3.247 GB, free: 2.246 MB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/5.445, allocations: 391.9 kB / 3.247 GB, free: 1.863 MB / 1.967 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.009564/5.455, allocations: 3.57 MB / 3.251 GB, free: 14.28 MB / 1.982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005961/5.461, allocations: 1.667 MB / 3.252 GB, free: 12.59 MB / 1.982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/5.479, allocations: 7.564 MB / 3.26 GB, free: 5.23 MB / 1.982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001923/5.479, allocations: 83.94 kB / 3.26 GB, free: 5.148 MB / 1.982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-05/5.479, allocations: 11.98 kB / 3.26 GB, free: 5.137 MB / 1.982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005116/5.484, allocations: 3.837 MB / 3.264 GB, free: 0.9883 MB / 1.982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05669/5.541, allocations: 28.82 MB / 3.292 GB, free: 3.812 MB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001418/5.541, allocations: 28 kB / 3.292 GB, free: 3.785 MB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/5.544, allocations: 0.7762 MB / 3.293 GB, free: 3.008 MB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-05/5.545, allocations: 52.47 kB / 3.293 GB, free: 2.957 MB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009894/5.546, allocations: 156 kB / 3.293 GB, free: 2.805 MB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.815e-05/5.546, allocations: 79.72 kB / 3.293 GB, free: 2.727 MB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.182e-05/5.546, allocations: 47.81 kB / 3.293 GB, free: 2.68 MB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02178/5.567, allocations: 11.96 MB / 3.305 GB, free: 6.137 MB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009082/5.577, allocations: 2.859 MB / 3.307 GB, free: 3.238 MB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004871/5.581, allocations: 151.7 kB / 3.308 GB, free: 3.09 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/5.592, allocations: 251.4 kB / 3.308 GB, free: 2.844 MB / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/5.593, allocations: 402.6 kB / 3.308 GB, free: 2.449 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/5.594, allocations: 259.8 kB / 3.308 GB, free: 2.195 MB / 2.029 GB Notification: Performance of sorting global known variables: time 0.02791/5.622, allocations: 11.85 MB / 3.32 GB, free: 6.441 MB / 2.045 GB Notification: Performance of sort global known variables: time 6.21e-07/5.622, allocations: 0 / 3.32 GB, free: 6.441 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.02107/5.643, allocations: 5.359 MB / 3.325 GB, free: 1.074 MB / 2.045 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.01262/5.656, allocations: 4.543 MB / 3.33 GB, free: 12.96 MB / 2.061 GB Notification: Performance of simCode: created initialization part: time 0.01164/5.667, allocations: 5.676 MB / 3.335 GB, free: 7.309 MB / 2.061 GB Notification: Performance of simCode: created event and clocks part: time 3.769e-05/5.668, allocations: 12.03 kB / 3.335 GB, free: 7.297 MB / 2.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004914/5.672, allocations: 2.578 MB / 3.338 GB, free: 4.73 MB / 2.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05117/5.724, allocations: 10.02 MB / 3.348 GB, free: 11.12 MB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05517/5.779, allocations: 28.29 MB / 3.375 GB, free: 14.41 MB / 2.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0144/5.793, allocations: 7.783 MB / 3.383 GB, free: 6.582 MB / 2.107 GB Notification: Performance of simCode: alias equations: time 0.01485/5.808, allocations: 3.26 MB / 3.386 GB, free: 3.41 MB / 2.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00335/5.812, allocations: 1.077 MB / 3.387 GB, free: 2.336 MB / 2.107 GB Notification: Performance of SimCode: time 6.72e-07/5.812, allocations: 0 / 3.387 GB, free: 2.336 MB / 2.107 GB Notification: Performance of Templates: time 1.375/7.186, allocations: 354.3 MB / 3.733 GB, free: 1.13 GB / 2.201 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches