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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.182/2.182, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5844, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.935/3.519, allocations: 1.349 GB / 2.298 GB, free: 75.45 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3138/3.833, allocations: 330.5 MB / 2.621 GB, free: 29.87 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03945/3.873, allocations: 1.161 MB / 2.622 GB, free: 29.15 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.03149/3.904, allocations: 12.96 MB / 2.635 GB, free: 18.27 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.08071/3.985, allocations: 32.17 MB / 2.666 GB, free: 6.629 MB / 1.467 GB Notification: Performance of NFTyping.typeClassSections: time 0.0435/4.028, allocations: 18.69 MB / 2.685 GB, free: 5.715 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 0.06677/4.095, allocations: 56.53 MB / 2.74 GB, free: 14.72 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03847/4.134, allocations: 22.24 MB / 2.762 GB, free: 8.598 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05207/4.186, allocations: 24.67 MB / 2.786 GB, free: 1.363 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03079/4.217, allocations: 17.56 MB / 2.803 GB, free: 0.9688 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.007276/4.224, allocations: 2.055 MB / 2.805 GB, free: 14.91 MB / 1.607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04168/4.266, allocations: 17.73 MB / 2.822 GB, free: 13.88 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.007921/4.273, allocations: 4.731 MB / 2.827 GB, free: 9.199 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02112/4.295, allocations: 10.86 MB / 2.837 GB, free: 14.36 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.06174/4.356, allocations: 40.72 MB / 2.877 GB, free: 6.906 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/4.356, allocations: 0 / 2.877 GB, free: 6.906 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.825e-06/4.356, allocations: 3.938 kB / 2.877 GB, free: 6.902 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0008032/4.357, allocations: 0 / 2.877 GB, free: 6.902 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.03879/4.396, allocations: 20.34 MB / 2.897 GB, free: 2.613 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/4.396, allocations: 12.03 kB / 2.897 GB, free: 2.602 MB / 1.686 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002545/4.399, allocations: 1.577 MB / 2.899 GB, free: 1.016 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006225/4.405, allocations: 2.179 MB / 2.901 GB, free: 14.81 MB / 1.701 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4627/4.868, allocations: 17.1 MB / 2.917 GB, free: 0.9096 GB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008588/4.869, allocations: 0.9469 MB / 2.918 GB, free: 0.9096 GB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003098/4.872, allocations: 1.252 MB / 2.92 GB, free: 0.9093 GB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/4.904, allocations: 14.09 MB / 2.933 GB, free: 0.9024 GB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002879/4.904, allocations: 44.53 kB / 2.933 GB, free: 0.9023 GB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/4.905, allocations: 0.5103 MB / 2.934 GB, free: 0.902 GB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/4.906, allocations: 341.4 kB / 2.934 GB, free: 0.9019 GB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/4.923, allocations: 9.686 MB / 2.944 GB, free: 0.8982 GB / 1.701 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.07076/4.994, allocations: 72.79 MB / 3.015 GB, free: 0.8395 GB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006658/5.001, allocations: 4.572 MB / 3.019 GB, free: 0.8369 GB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/5.004, allocations: 2.441 MB / 3.022 GB, free: 0.8355 GB / 1.701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07153/5.075, allocations: 51.49 MB / 3.072 GB, free: 0.7924 GB / 1.701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/5.075, allocations: 128.6 kB / 3.072 GB, free: 0.7923 GB / 1.701 GB Notification: Performance of pre-optimization done (n=412): time 6.813e-06/5.075, allocations: 0 / 3.072 GB, free: 0.7923 GB / 1.701 GB Notification: Performance of matching and sorting (n=412): time 0.01424/5.09, allocations: 6.95 MB / 3.079 GB, free: 0.789 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/5.09, allocations: 0.7986 MB / 3.08 GB, free: 0.788 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02309/5.113, allocations: 16.2 MB / 3.095 GB, free: 0.7737 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/5.114, allocations: 141.7 kB / 3.095 GB, free: 0.7735 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.006129/5.12, allocations: 8.346 MB / 3.104 GB, free: 0.7654 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/5.122, allocations: 1.45 MB / 3.105 GB, free: 0.764 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/5.124, allocations: 1.416 MB / 3.106 GB, free: 0.7626 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/5.124, allocations: 301.1 kB / 3.107 GB, free: 0.7623 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/5.126, allocations: 2.013 MB / 3.109 GB, free: 0.7603 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/5.13, allocations: 4.933 MB / 3.113 GB, free: 0.7544 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005961/5.136, allocations: 6.671 MB / 3.12 GB, free: 0.747 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-05/5.136, allocations: 20 kB / 3.12 GB, free: 0.747 GB / 1.701 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01244/5.148, allocations: 7.963 MB / 3.128 GB, free: 0.7392 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/5.148, allocations: 44 kB / 3.128 GB, free: 0.7392 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/5.148, allocations: 68 kB / 3.128 GB, free: 0.7391 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.716e-05/5.149, allocations: 108 kB / 3.128 GB, free: 0.739 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/5.152, allocations: 1.373 MB / 3.129 GB, free: 0.7377 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.471e-05/5.152, allocations: 155.3 kB / 3.129 GB, free: 0.7375 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00976/5.162, allocations: 1.249 MB / 3.131 GB, free: 0.7363 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/5.163, allocations: 371.9 kB / 3.131 GB, free: 0.736 GB / 1.701 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.006486/5.17, allocations: 3.406 MB / 3.134 GB, free: 0.7326 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004941/5.175, allocations: 1.62 MB / 3.136 GB, free: 0.731 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/5.19, allocations: 7.545 MB / 3.143 GB, free: 0.7238 GB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001678/5.19, allocations: 91.94 kB / 3.143 GB, free: 0.7237 GB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-05/5.19, allocations: 8 kB / 3.143 GB, free: 0.7237 GB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003789/5.194, allocations: 3.85 MB / 3.147 GB, free: 0.7196 GB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03748/5.231, allocations: 28.47 MB / 3.175 GB, free: 0.6915 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/5.231, allocations: 28 kB / 3.175 GB, free: 0.6914 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/5.234, allocations: 0.7723 MB / 3.176 GB, free: 0.6907 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.157e-05/5.234, allocations: 52 kB / 3.176 GB, free: 0.6906 GB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/5.234, allocations: 155.9 kB / 3.176 GB, free: 0.6905 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/5.234, allocations: 71.72 kB / 3.176 GB, free: 0.6904 GB / 1.701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/5.234, allocations: 47.81 kB / 3.176 GB, free: 0.6904 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/5.246, allocations: 11.91 MB / 3.188 GB, free: 0.6782 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005293/5.251, allocations: 2.821 MB / 3.19 GB, free: 0.6754 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/5.254, allocations: 159.5 kB / 3.191 GB, free: 0.6752 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00602/5.26, allocations: 211.3 kB / 3.191 GB, free: 0.675 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/5.26, allocations: 402.5 kB / 3.191 GB, free: 0.6746 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/5.261, allocations: 259.8 kB / 3.191 GB, free: 0.6744 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.01504/5.276, allocations: 11.54 MB / 3.203 GB, free: 0.6632 GB / 1.701 GB Notification: Performance of sort global known variables: time 3.11e-07/5.276, allocations: 4 kB / 3.203 GB, free: 0.6632 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.01821/5.294, allocations: 5.28 MB / 3.208 GB, free: 0.6583 GB / 1.701 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.02387/5.318, allocations: 16.86 MB / 3.224 GB, free: 0.6417 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.00845/5.326, allocations: 5.78 MB / 3.23 GB, free: 0.6361 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 3.494e-05/5.326, allocations: 9.125 kB / 3.23 GB, free: 0.6361 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/5.329, allocations: 2.589 MB / 3.233 GB, free: 0.6336 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04377/5.373, allocations: 10.02 MB / 3.242 GB, free: 0.6245 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/5.571, allocations: 265.5 MB / 3.502 GB, free: 353.9 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007098/5.578, allocations: 7.421 MB / 3.509 GB, free: 346.4 MB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.01301/5.591, allocations: 3.172 MB / 3.512 GB, free: 343.4 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009146/5.6, allocations: 7.794 MB / 3.52 GB, free: 335.6 MB / 1.701 GB Notification: Performance of SimCode: time 1.323e-06/5.6, allocations: 4 kB / 3.52 GB, free: 335.6 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.385/6.985, allocations: 0.4903 GB / 4.01 GB, free: 0.7955 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/27.8, allocations: 2.75 kB / 4.01 GB, free: 0.7955 GB / 1.701 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv","/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