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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002189/0.002189, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.282/2.282, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6485/0.6501, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.294/3.944, allocations: 1.34 GB / 2.288 GB, free: 74.66 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3589/4.303, allocations: 331.2 MB / 2.612 GB, free: 35.1 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04236/4.345, allocations: 1.06 MB / 2.613 GB, free: 34.48 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.03301/4.378, allocations: 10.62 MB / 2.623 GB, free: 24.93 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.08749/4.466, allocations: 29.38 MB / 2.652 GB, free: 96 kB / 1.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.04423/4.51, allocations: 17.2 MB / 2.669 GB, free: 0.6875 MB / 1.467 GB Notification: Performance of NFFlatten.flatten: time 0.0875/4.598, allocations: 74.41 MB / 2.742 GB, free: 7.793 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03611/4.634, allocations: 17.94 MB / 2.759 GB, free: 5.969 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04934/4.683, allocations: 20.78 MB / 2.779 GB, free: 2.195 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03273/4.716, allocations: 17.57 MB / 2.796 GB, free: 1.797 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.0067/4.723, allocations: 0.8815 MB / 2.797 GB, free: 0.918 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04719/4.77, allocations: 15.83 MB / 2.813 GB, free: 1.805 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.007388/4.777, allocations: 3.598 MB / 2.816 GB, free: 14.27 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02639/4.804, allocations: 9.608 MB / 2.826 GB, free: 4.68 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.07357/4.877, allocations: 40.07 MB / 2.865 GB, free: 13.89 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/4.877, allocations: 3.984 kB / 2.865 GB, free: 13.88 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.453e-06/4.877, allocations: 0 / 2.865 GB, free: 13.88 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.001122/4.879, allocations: 0 / 2.865 GB, free: 13.88 MB / 1.67 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.04973/4.928, allocations: 20.33 MB / 2.885 GB, free: 9.602 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/4.928, allocations: 12.03 kB / 2.885 GB, free: 9.59 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008962/4.937, allocations: 2.186 MB / 2.887 GB, free: 7.383 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03411/4.972, allocations: 17.46 MB / 2.904 GB, free: 6.234 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000948/4.973, allocations: 0.9489 MB / 2.905 GB, free: 5.285 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00367/4.976, allocations: 1.253 MB / 2.906 GB, free: 4.035 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03887/5.015, allocations: 13.97 MB / 2.92 GB, free: 5.367 MB / 1.717 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005539/5.016, allocations: 39.59 kB / 2.92 GB, free: 5.328 MB / 1.717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002898/5.019, allocations: 0.5039 MB / 2.92 GB, free: 4.824 MB / 1.717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003638/5.019, allocations: 339.9 kB / 2.921 GB, free: 4.492 MB / 1.717 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5763/5.595, allocations: 9.677 MB / 2.93 GB, free: 0.923 GB / 1.717 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.08886/5.684, allocations: 70.47 MB / 2.999 GB, free: 0.8685 GB / 1.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006531/5.691, allocations: 4.571 MB / 3.003 GB, free: 0.8659 GB / 1.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/5.694, allocations: 2.435 MB / 3.006 GB, free: 0.8646 GB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07076/5.765, allocations: 51.5 MB / 3.056 GB, free: 0.8215 GB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/5.765, allocations: 122.1 kB / 3.056 GB, free: 0.8214 GB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 6.943e-06/5.765, allocations: 1.938 kB / 3.056 GB, free: 0.8214 GB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01835/5.783, allocations: 6.935 MB / 3.063 GB, free: 0.818 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/5.783, allocations: 0.7934 MB / 3.064 GB, free: 0.8171 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03241/5.816, allocations: 15.96 MB / 3.079 GB, free: 0.8092 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.001476/5.817, allocations: 144.1 kB / 3.079 GB, free: 0.8091 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.0094/5.827, allocations: 8.301 MB / 3.087 GB, free: 0.8019 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/5.829, allocations: 1.449 MB / 3.089 GB, free: 0.8007 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/5.832, allocations: 1.372 MB / 3.09 GB, free: 0.7999 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/5.832, allocations: 306.6 kB / 3.09 GB, free: 0.7996 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/5.835, allocations: 1.969 MB / 3.092 GB, free: 0.7986 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/5.84, allocations: 4.735 MB / 3.097 GB, free: 0.7944 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006952/5.846, allocations: 6.426 MB / 3.103 GB, free: 0.7892 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.965e-05/5.847, allocations: 16 kB / 3.103 GB, free: 0.7892 GB / 1.717 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01633/5.863, allocations: 7.756 MB / 3.111 GB, free: 0.7817 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/5.863, allocations: 32 kB / 3.111 GB, free: 0.7817 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/5.863, allocations: 67 kB / 3.111 GB, free: 0.7816 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/5.863, allocations: 96 kB / 3.111 GB, free: 0.7815 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/5.868, allocations: 1.326 MB / 3.112 GB, free: 0.7802 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001496/5.868, allocations: 139.5 kB / 3.112 GB, free: 0.7801 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/5.881, allocations: 1.687 MB / 3.114 GB, free: 0.7785 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/5.882, allocations: 351.9 kB / 3.114 GB, free: 0.7782 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.008172/5.89, allocations: 3.392 MB / 3.118 GB, free: 0.7748 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005249/5.896, allocations: 1.605 MB / 3.119 GB, free: 0.7732 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/5.91, allocations: 7.536 MB / 3.127 GB, free: 0.7661 GB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001811/5.91, allocations: 79.94 kB / 3.127 GB, free: 0.766 GB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-05/5.91, allocations: 11.94 kB / 3.127 GB, free: 0.766 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003922/5.914, allocations: 3.859 MB / 3.131 GB, free: 0.7619 GB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04855/5.963, allocations: 28.36 MB / 3.158 GB, free: 0.7339 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001353/5.963, allocations: 36.03 kB / 3.158 GB, free: 0.7338 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/5.966, allocations: 0.78 MB / 3.159 GB, free: 0.7331 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.792e-05/5.966, allocations: 52 kB / 3.159 GB, free: 0.733 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006375/5.967, allocations: 155.9 kB / 3.159 GB, free: 0.7329 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-05/5.967, allocations: 63.8 kB / 3.159 GB, free: 0.7328 GB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/5.967, allocations: 51.8 kB / 3.159 GB, free: 0.7328 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/5.985, allocations: 11.9 MB / 3.171 GB, free: 0.7206 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007473/5.992, allocations: 2.806 MB / 3.174 GB, free: 0.7178 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004333/5.997, allocations: 159.6 kB / 3.174 GB, free: 0.7176 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/6.007, allocations: 0.5448 MB / 3.174 GB, free: 0.7171 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000841/6.007, allocations: 398.6 kB / 3.175 GB, free: 0.7167 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008633/6.008, allocations: 263 kB / 3.175 GB, free: 0.7165 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02257/6.031, allocations: 11.39 MB / 3.186 GB, free: 0.7054 GB / 1.717 GB Notification: Performance of sort global known variables: time 5.71e-07/6.031, allocations: 0 / 3.186 GB, free: 0.7054 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.01926/6.05, allocations: 5.218 MB / 3.191 GB, free: 0.7006 GB / 1.717 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.01133/6.062, allocations: 4.448 MB / 3.196 GB, free: 0.6967 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.009167/6.071, allocations: 5.33 MB / 3.201 GB, free: 0.6915 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 3.579e-05/6.071, allocations: 11.91 kB / 3.201 GB, free: 0.6915 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/6.075, allocations: 2.582 MB / 3.203 GB, free: 0.689 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0497/6.125, allocations: 9.354 MB / 3.212 GB, free: 0.6804 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04365/6.168, allocations: 32.98 MB / 3.245 GB, free: 0.6478 GB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01141/6.18, allocations: 7.425 MB / 3.252 GB, free: 0.6405 GB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.01477/6.195, allocations: 3.125 MB / 3.255 GB, free: 0.6376 GB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/6.198, allocations: 1.042 MB / 3.256 GB, free: 0.6366 GB / 1.717 GB Notification: Performance of SimCode: time 1.152e-06/6.198, allocations: 0 / 3.256 GB, free: 0.6366 GB / 1.717 GB Notification: Performance of Templates: time 0.4251/6.623, allocations: 341 MB / 3.589 GB, free: 313 MB / 1.717 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/jenkins/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