Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001245/0.001245, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001289/0.001289, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8413, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.794/3.635, allocations: 1.349 GB / 2.437 GB, free: 83.47 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3661/4.002, allocations: 330.5 MB / 2.76 GB, free: 2.156 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04291/4.045, allocations: 1.161 MB / 2.761 GB, free: 0.9883 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.04198/4.087, allocations: 13.2 MB / 2.774 GB, free: 3.707 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.09896/4.186, allocations: 33.84 MB / 2.807 GB, free: 1.758 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.04929/4.235, allocations: 18.9 MB / 2.826 GB, free: 15 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 1.089/5.324, allocations: 56.69 MB / 2.881 GB, free: 28.18 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04021/5.364, allocations: 22.24 MB / 2.903 GB, free: 41.44 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05978/5.424, allocations: 25.42 MB / 2.928 GB, free: 41.34 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04221/5.466, allocations: 17.59 MB / 2.945 GB, free: 37.96 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01014/5.476, allocations: 2.054 MB / 2.947 GB, free: 37.96 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04936/5.526, allocations: 17.9 MB / 2.964 GB, free: 37.94 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01007/5.536, allocations: 4.729 MB / 2.969 GB, free: 37.22 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.03051/5.566, allocations: 10.86 MB / 2.979 GB, free: 34.34 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.07551/5.642, allocations: 41.11 MB / 3.02 GB, free: 31.27 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/5.642, allocations: 0 / 3.02 GB, free: 31.27 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.432e-06/5.642, allocations: 4 kB / 3.02 GB, free: 31.27 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.00121/5.643, allocations: 3.656 kB / 3.02 GB, free: 31.27 MB / 1.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.06261/5.706, allocations: 20.34 MB / 3.039 GB, free: 23.14 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/5.706, allocations: 10 kB / 3.039 GB, free: 23.14 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/5.717, allocations: 2.177 MB / 3.042 GB, free: 22.11 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04332/5.761, allocations: 18.28 MB / 3.059 GB, free: 19.3 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/5.762, allocations: 0.9486 MB / 3.06 GB, free: 19.27 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/5.766, allocations: 1.257 MB / 3.062 GB, free: 19.26 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03626/5.802, allocations: 14.09 MB / 3.075 GB, free: 16.86 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006631/5.803, allocations: 41.41 kB / 3.075 GB, free: 16.86 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003565/5.807, allocations: 0.513 MB / 3.076 GB, free: 16.86 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004203/5.807, allocations: 332.9 kB / 3.076 GB, free: 16.86 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/5.83, allocations: 9.691 MB / 3.086 GB, free: 16.79 MB / 1.795 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.1044/5.934, allocations: 72.18 MB / 3.156 GB, free: 128 kB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008026/5.942, allocations: 4.573 MB / 3.161 GB, free: 12.83 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/5.946, allocations: 2.435 MB / 3.163 GB, free: 11.19 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09375/6.04, allocations: 51.67 MB / 3.213 GB, free: 1.133 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/6.04, allocations: 124 kB / 3.214 GB, free: 1.055 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 1.529e-05/6.04, allocations: 0 / 3.214 GB, free: 1.055 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01927/6.06, allocations: 6.954 MB / 3.22 GB, free: 12 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000314/6.06, allocations: 0.7847 MB / 3.221 GB, free: 11.04 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04619/6.106, allocations: 16.2 MB / 3.237 GB, free: 15.91 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001747/6.108, allocations: 141.5 kB / 3.237 GB, free: 15.83 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01352/6.121, allocations: 8.212 MB / 3.245 GB, free: 11.99 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.004424/6.126, allocations: 1.454 MB / 3.247 GB, free: 10.55 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01015/6.136, allocations: 1.412 MB / 3.248 GB, free: 9.133 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001423/6.136, allocations: 317 kB / 3.248 GB, free: 8.82 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/6.142, allocations: 2.003 MB / 3.25 GB, free: 6.812 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008874/6.151, allocations: 4.934 MB / 3.255 GB, free: 0.7148 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009629/6.161, allocations: 6.669 MB / 3.262 GB, free: 9.398 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.699e-05/6.161, allocations: 24 kB / 3.262 GB, free: 9.375 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.02104/6.182, allocations: 7.959 MB / 3.269 GB, free: 1.879 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/6.182, allocations: 36 kB / 3.269 GB, free: 1.844 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/6.182, allocations: 75.92 kB / 3.269 GB, free: 1.77 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/6.182, allocations: 108 kB / 3.27 GB, free: 1.664 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005379/6.188, allocations: 1.367 MB / 3.271 GB, free: 408 kB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002009/6.188, allocations: 154.2 kB / 3.271 GB, free: 284 kB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/6.202, allocations: 1.243 MB / 3.272 GB, free: 15.03 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/6.204, allocations: 367.9 kB / 3.273 GB, free: 14.67 MB / 1.951 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.01164/6.216, allocations: 3.408 MB / 3.276 GB, free: 11.35 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007059/6.223, allocations: 1.609 MB / 3.277 GB, free: 9.723 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/6.244, allocations: 7.529 MB / 3.285 GB, free: 2.43 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005292/6.249, allocations: 3.852 MB / 3.289 GB, free: 14.28 MB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/6.249, allocations: 12 kB / 3.289 GB, free: 14.27 MB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/6.259, allocations: 2.705 MB / 3.291 GB, free: 11.52 MB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005975/6.265, allocations: 119.6 kB / 3.291 GB, free: 11.41 MB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01017/6.275, allocations: 183.3 kB / 3.292 GB, free: 11.23 MB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/6.277, allocations: 297.8 kB / 3.292 GB, free: 10.95 MB / 1.967 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01186/6.288, allocations: 7.645 MB / 3.299 GB, free: 3.438 MB / 1.967 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01855/6.307, allocations: 11.75 MB / 3.311 GB, free: 7.559 MB / 1.982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003659/6.311, allocations: 2.428 MB / 3.313 GB, free: 5.156 MB / 1.982 GB Notification: Performance of sorting global known variables: time 0.02762/6.338, allocations: 11.2 MB / 3.324 GB, free: 10.04 MB / 1.998 GB Notification: Performance of Backend: time 8.21e-07/6.338, allocations: 0 / 3.324 GB, free: 10.04 MB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.04192/6.38, allocations: 8.683 MB / 3.333 GB, free: 2.125 MB / 1.998 GB Notification: Performance of SimCode: time 0.09991/6.48, allocations: 34.15 MB / 3.366 GB, free: 460 kB / 2.029 GB Notification: Performance of Templates: time 1.728/8.208, allocations: 354.1 MB / 3.712 GB, free: 1.315 GB / 2.295 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches