Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001746/0.001746, allocations: 115 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.00209/0.00209, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8276, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.57/4.397, allocations: 1.37 GB / 2.537 GB, free: 85.23 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.4835/4.881, allocations: 334.1 MB / 2.863 GB, free: 15.77 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06192/4.943, allocations: 1.223 MB / 2.865 GB, free: 14.54 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.04311/4.986, allocations: 13.5 MB / 2.878 GB, free: 0.9531 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 1.75/6.737, allocations: 33.88 MB / 2.911 GB, free: 13.57 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.05448/6.791, allocations: 19.85 MB / 2.93 GB, free: 13.24 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.09822/6.889, allocations: 58.29 MB / 2.987 GB, free: 12.95 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06125/6.951, allocations: 23.35 MB / 3.01 GB, free: 25.68 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08552/7.036, allocations: 25.65 MB / 3.035 GB, free: 25.11 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05149/7.088, allocations: 17.76 MB / 3.052 GB, free: 21.46 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.01411/7.102, allocations: 2.13 MB / 3.054 GB, free: 21.46 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06555/7.167, allocations: 17.98 MB / 3.072 GB, free: 21.43 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01457/7.182, allocations: 4.884 MB / 3.077 GB, free: 20.7 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.03679/7.219, allocations: 11.17 MB / 3.088 GB, free: 17.73 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.1073/7.326, allocations: 42.28 MB / 3.129 GB, free: 7.766 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/7.326, allocations: 0 / 3.129 GB, free: 7.766 MB / 1.873 GB Notification: Performance of FrontEnd: time 2.264e-06/7.326, allocations: 0 / 3.129 GB, free: 7.766 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001602/7.328, allocations: 2.656 kB / 3.129 GB, free: 7.766 MB / 1.873 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.08635/7.414, allocations: 21.59 MB / 3.15 GB, free: 12.46 MB / 1.889 GB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/7.414, allocations: 9.203 kB / 3.15 GB, free: 12.46 MB / 1.889 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/7.428, allocations: 2.356 MB / 3.152 GB, free: 11.26 MB / 1.889 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05243/7.481, allocations: 19.06 MB / 3.171 GB, free: 2.227 MB / 1.889 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001607/7.482, allocations: 0.98 MB / 3.172 GB, free: 1.656 MB / 1.889 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006958/7.489, allocations: 1.285 MB / 3.173 GB, free: 0.7852 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06319/7.552, allocations: 14.62 MB / 3.187 GB, free: 6.383 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001073/7.554, allocations: 43.58 kB / 3.187 GB, free: 6.363 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006467/7.56, allocations: 0.5367 MB / 3.188 GB, free: 6.227 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/7.561, allocations: 348.6 kB / 3.188 GB, free: 5.898 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/7.593, allocations: 10.09 MB / 3.198 GB, free: 15.75 MB / 1.92 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.1398/7.733, allocations: 76.73 MB / 3.273 GB, free: 5.766 MB / 1.982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/7.742, allocations: 4.56 MB / 3.278 GB, free: 1.027 MB / 1.982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004606/7.747, allocations: 2.445 MB / 3.28 GB, free: 14.52 MB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/7.848, allocations: 51.67 MB / 3.33 GB, free: 3.555 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/7.848, allocations: 129.2 kB / 3.331 GB, free: 3.438 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 2.651e-05/7.848, allocations: 7.938 kB / 3.331 GB, free: 3.43 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.02217/7.87, allocations: 7.069 MB / 3.337 GB, free: 12.43 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004547/7.871, allocations: 0.7839 MB / 3.338 GB, free: 11.47 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05398/7.925, allocations: 16.68 MB / 3.355 GB, free: 10.89 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.002085/7.927, allocations: 148.6 kB / 3.355 GB, free: 10.74 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01571/7.943, allocations: 8.69 MB / 3.363 GB, free: 2.047 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003394/7.946, allocations: 1.523 MB / 3.365 GB, free: 0.543 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009555/7.956, allocations: 1.5 MB / 3.366 GB, free: 15.03 MB / 2.092 GB Notification: Performance of setup shared object (initialization): time 0.0001138/7.956, allocations: 301.1 kB / 3.366 GB, free: 14.73 MB / 2.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005494/7.961, allocations: 2.082 MB / 3.368 GB, free: 12.65 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009894/7.971, allocations: 5.279 MB / 3.374 GB, free: 6.07 MB / 2.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/7.983, allocations: 7.139 MB / 3.381 GB, free: 14.18 MB / 2.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/7.983, allocations: 24 kB / 3.381 GB, free: 14.16 MB / 2.107 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02547/8.008, allocations: 8.441 MB / 3.389 GB, free: 6.199 MB / 2.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/8.009, allocations: 43.75 kB / 3.389 GB, free: 6.16 MB / 2.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/8.009, allocations: 80 kB / 3.389 GB, free: 6.082 MB / 2.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/8.009, allocations: 123.7 kB / 3.389 GB, free: 5.965 MB / 2.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006025/8.015, allocations: 1.456 MB / 3.39 GB, free: 4.617 MB / 2.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002568/8.015, allocations: 167 kB / 3.391 GB, free: 4.488 MB / 2.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/8.031, allocations: 1.357 MB / 3.392 GB, free: 3.129 MB / 2.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002653/8.034, allocations: 391.9 kB / 3.392 GB, free: 2.746 MB / 2.107 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.01424/8.048, allocations: 3.577 MB / 3.396 GB, free: 15.27 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009311/8.057, allocations: 1.758 MB / 3.398 GB, free: 13.5 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/8.079, allocations: 7.585 MB / 3.405 GB, free: 6.113 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005961/8.085, allocations: 3.84 MB / 3.409 GB, free: 1.977 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.132e-05/8.085, allocations: 4 kB / 3.409 GB, free: 1.973 MB / 2.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01165/8.097, allocations: 2.843 MB / 3.411 GB, free: 15.1 MB / 2.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00726/8.104, allocations: 123.7 kB / 3.412 GB, free: 14.98 MB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/8.117, allocations: 211.8 kB / 3.412 GB, free: 14.77 MB / 2.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001469/8.118, allocations: 295.8 kB / 3.412 GB, free: 14.49 MB / 2.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01382/8.132, allocations: 7.635 MB / 3.42 GB, free: 6.984 MB / 2.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02731/8.16, allocations: 11.88 MB / 3.431 GB, free: 10.98 MB / 2.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004875/8.165, allocations: 2.438 MB / 3.434 GB, free: 8.574 MB / 2.154 GB Notification: Performance of sorting global known variables: time 0.03626/8.201, allocations: 11.51 MB / 3.445 GB, free: 13.16 MB / 2.17 GB Notification: Performance of Backend: time 1.833e-06/8.201, allocations: 0 / 3.445 GB, free: 13.16 MB / 2.17 GB Notification: Performance of simCode: created initialization part: time 0.04718/8.248, allocations: 8.89 MB / 3.453 GB, free: 5.043 MB / 2.17 GB Notification: Performance of SimCode: time 0.1225/8.371, allocations: 35.6 MB / 3.488 GB, free: 1.879 MB / 2.201 GB Notification: Performance of Templates: time 1.421/9.791, allocations: 356.8 MB / 3.837 GB, free: 1.359 GB / 2.42 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches