Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC") translateModel(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 199.4 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 107.7 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 53.23 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3051, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC): time 2.702/3.007, allocations: 1.052 GB / 2.27 GB, free: 1.098 MB / 1.276 GB Notification: Performance of NFInst.instExpressions: time 0.2455/3.253, allocations: 164.5 MB / 2.43 GB, free: 12.12 MB / 1.448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0386/3.291, allocations: 0.5902 MB / 2.431 GB, free: 11.53 MB / 1.448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0376/3.329, allocations: 9.155 MB / 2.44 GB, free: 2.328 MB / 1.448 GB Notification: Performance of NFTyping.typeBindings: time 1.23/4.559, allocations: 28.62 MB / 2.468 GB, free: 12.18 MB / 1.464 GB Notification: Performance of NFTyping.typeClassSections: time 0.06315/4.622, allocations: 17.43 MB / 2.485 GB, free: 12.07 MB / 1.464 GB Notification: Performance of NFFlatten.flatten: time 0.1201/4.742, allocations: 71.87 MB / 2.555 GB, free: 11.97 MB / 1.464 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07482/4.817, allocations: 27.41 MB / 2.582 GB, free: 23.37 MB / 1.479 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07774/4.895, allocations: 23.35 MB / 2.605 GB, free: 22.45 MB / 1.479 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04653/4.942, allocations: 17.26 MB / 2.622 GB, free: 19.47 MB / 1.479 GB Notification: Performance of NFPackage.collectConstants: time 0.01588/4.958, allocations: 1.354 MB / 2.623 GB, free: 19.47 MB / 1.479 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06956/5.027, allocations: 26.19 MB / 2.648 GB, free: 19.46 MB / 1.479 GB Notification: Performance of NFScalarize.scalarize: time 0.02045/5.048, allocations: 6.847 MB / 2.655 GB, free: 15.14 MB / 1.479 GB Notification: Performance of NFVerifyModel.verify: time 0.04614/5.094, allocations: 13.34 MB / 2.668 GB, free: 6.004 MB / 1.479 GB Notification: Performance of NFConvertDAE.convert: time 0.1146/5.209, allocations: 54.74 MB / 2.722 GB, free: 12.77 MB / 1.526 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/5.209, allocations: 0 / 2.722 GB, free: 12.77 MB / 1.526 GB Notification: Performance of FrontEnd: time 1.903e-06/5.209, allocations: 0 / 2.722 GB, free: 12.77 MB / 1.526 GB Notification: Performance of Transformations before backend: time 0.001865/5.211, allocations: 0 / 2.722 GB, free: 12.77 MB / 1.526 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4690 * Number of variables: 4690 Notification: Performance of Generate backend data structure: time 0.1151/5.326, allocations: 28.22 MB / 2.749 GB, free: 5.547 MB / 1.542 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/5.326, allocations: 15.98 kB / 2.749 GB, free: 5.531 MB / 1.542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07755/5.403, allocations: 10.86 MB / 2.76 GB, free: 10.96 MB / 1.557 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0617/5.465, allocations: 20.65 MB / 2.78 GB, free: 13.43 MB / 1.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005865/5.471, allocations: 2.363 MB / 2.782 GB, free: 10.99 MB / 1.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01036/5.481, allocations: 1.829 MB / 2.784 GB, free: 9.168 MB / 1.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1019/5.583, allocations: 26.57 MB / 2.81 GB, free: 14.17 MB / 1.604 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001007/5.584, allocations: 32.47 kB / 2.81 GB, free: 14.15 MB / 1.604 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01099/5.595, allocations: 0.7432 MB / 2.811 GB, free: 13.42 MB / 1.604 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008398/5.596, allocations: 0.7178 MB / 2.812 GB, free: 12.7 MB / 1.604 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0924/5.689, allocations: 27.5 MB / 2.838 GB, free: 1.258 MB / 1.62 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.2311/5.92, allocations: 102.8 MB / 2.939 GB, free: 8.188 MB / 1.729 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04718/5.967, allocations: 17.17 MB / 2.956 GB, free: 6.73 MB / 1.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02806/5.995, allocations: 9.244 MB / 2.965 GB, free: 13.48 MB / 1.76 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09119/6.086, allocations: 32.02 MB / 2.996 GB, free: 13.22 MB / 1.792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03503/6.122, allocations: 10.09 MB / 3.006 GB, free: 3.047 MB / 1.792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01592/6.138, allocations: 1.525 MB / 3.007 GB, free: 1.516 MB / 1.792 GB Notification: Performance of pre-optimization done (n=1138): time 8.199e-05/6.138, allocations: 3.938 kB / 3.007 GB, free: 1.512 MB / 1.792 GB Notification: Performance of matching and sorting (n=1138): time 0.1112/6.249, allocations: 27.4 MB / 3.034 GB, free: 5.801 MB / 1.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005868/6.249, allocations: 0.9333 MB / 3.035 GB, free: 4.672 MB / 1.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04506/6.295, allocations: 14.7 MB / 3.049 GB, free: 6.086 MB / 1.839 GB Notification: Performance of collectPreVariables (initialization): time 0.004687/6.299, allocations: 279.2 kB / 3.049 GB, free: 5.812 MB / 1.839 GB Notification: Performance of collectInitialEqns (initialization): time 0.01664/6.316, allocations: 9.704 MB / 3.059 GB, free: 12.08 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.007346/6.323, allocations: 3.849 MB / 3.063 GB, free: 8.266 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01587/6.339, allocations: 2.666 MB / 3.065 GB, free: 5.586 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.0001027/6.339, allocations: 305.1 kB / 3.066 GB, free: 5.285 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02663/6.366, allocations: 8.187 MB / 3.074 GB, free: 13.08 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03223/6.398, allocations: 11.02 MB / 3.084 GB, free: 1.055 MB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05249/6.451, allocations: 18.45 MB / 3.102 GB, free: 13.93 MB / 1.901 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/6.451, allocations: 16 kB / 3.102 GB, free: 13.92 MB / 1.901 GB Notification: Performance of matching and sorting (n=1622) (initialization): time 0.7762/7.227, allocations: 21.91 MB / 3.124 GB, free: 1.053 GB / 1.901 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/7.227, allocations: 36.92 kB / 3.124 GB, free: 1.053 GB / 1.901 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/7.228, allocations: 57.12 kB / 3.124 GB, free: 1.053 GB / 1.901 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/7.234, allocations: 1.353 MB / 3.125 GB, free: 1.053 GB / 1.901 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02571/7.259, allocations: 3.948 MB / 3.129 GB, free: 1.053 GB / 1.901 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/7.274, allocations: 15.22 MB / 3.144 GB, free: 1.04 GB / 1.901 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02958/7.303, allocations: 2.476 MB / 3.146 GB, free: 1.04 GB / 1.901 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004829/7.308, allocations: 0.6135 MB / 3.147 GB, free: 1.04 GB / 1.901 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04419/7.352, allocations: 13.18 MB / 3.16 GB, free: 1.039 GB / 1.901 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02998/7.382, allocations: 10.82 MB / 3.17 GB, free: 1.033 GB / 1.901 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04824/7.431, allocations: 18.1 MB / 3.188 GB, free: 1.024 GB / 1.901 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001545/7.431, allocations: 15.41 kB / 3.188 GB, free: 1.024 GB / 1.901 GB Notification: Performance of matching and sorting (n=1622) (initialization_lambda0): time 0.07291/7.504, allocations: 21.45 MB / 3.209 GB, free: 1.017 GB / 1.901 GB Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/7.504, allocations: 31.5 kB / 3.209 GB, free: 1.017 GB / 1.901 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/7.504, allocations: 57.5 kB / 3.209 GB, free: 1.017 GB / 1.901 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/7.509, allocations: 1.284 MB / 3.21 GB, free: 1.017 GB / 1.901 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02196/7.531, allocations: 3.894 MB / 3.214 GB, free: 1.017 GB / 1.901 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/7.545, allocations: 17.54 MB / 3.231 GB, free: 1.001 GB / 1.901 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02997/7.575, allocations: 2.478 MB / 3.234 GB, free: 1 GB / 1.901 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004746/7.579, allocations: 0.6017 MB / 3.234 GB, free: 1 GB / 1.901 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 58 (hvaCon.cooCoi.flowRegime_nominal,baseCase.cooCoi.flowRegime_nominal,hvaCon2.cooCoi.flowRegime_nominal,rooCon.weaDat.conTim.canRepeatWeatherFile,rooCon.weaDat.conTimMin.canRepeatWeatherFile,hvaCon.weaDat.conTim.canRepeatWeatherFile,hvaCon.weaDat.conTimMin.canRepeatWeatherFile,hvaCon.cooCoi.UAFroRated.isFulWet,hvaCon.cooCoi.UAFroRated.isFulDry,rooCon.weaDat.conTim.tNext,$PRE.rooCon.weaDat.conTim.tNext,rooCon.weaDat.conTimMin.tNext,$PRE.rooCon.weaDat.conTimMin.tNext,hvaCon.weaDat.conTim.tNext,$PRE.hvaCon.weaDat.conTim.tNext,hvaCon.weaDat.conTimMin.tNext,$PRE.hvaCon.weaDat.conTimMin.tNext,hvaCon.con.y,$PRE.hvaCon.con.y,hvaCon.cooCoi.flowRegime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,baseCase.weaDat.conTim.canRepeatWeatherFile,baseCase.weaDat.conTimMin.canRepeatWeatherFile,baseCase.cooCoi.UAFroRated.isFulWet,baseCase.cooCoi.UAFroRated.isFulDry,baseCase.con.y,$PRE.baseCase.con.y,baseCase.weaDat.conTim.tNext,$PRE.baseCase.weaDat.conTim.tNext,baseCase.weaDat.conTimMin.tNext,$PRE.baseCase.weaDat.conTimMin.tNext,baseCase.cooCoi.flowRegime,$whenCondition5,$whenCondition6,rooCon2.weaDat.conTim.canRepeatWeatherFile,rooCon2.weaDat.conTimMin.canRepeatWeatherFile,hvaCon2.weaDat.conTim.canRepeatWeatherFile,hvaCon2.weaDat.conTimMin.canRepeatWeatherFile,hvaCon2.cooCoi.UAFroRated.isFulWet,hvaCon2.cooCoi.UAFroRated.isFulDry,rooCon2.weaDat.conTim.tNext,$PRE.rooCon2.weaDat.conTim.tNext,rooCon2.weaDat.conTimMin.tNext,$PRE.rooCon2.weaDat.conTimMin.tNext,hvaCon2.weaDat.conTim.tNext,$PRE.hvaCon2.weaDat.conTim.tNext,hvaCon2.weaDat.conTimMin.tNext,$PRE.hvaCon2.weaDat.conTimMin.tNext,hvaCon2.con.y,$PRE.hvaCon2.con.y,hvaCon2.cooCoi.flowRegime,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1571): * Single equations (assignments): 1545 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(1,2), (5,2), (1,3), (1,2), (5,2), (1,3), (1,2), (1,2), (5,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.008327/7.588, allocations: 0.9677 MB / 3.235 GB, free: 0.9995 GB / 1.901 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008882/7.597, allocations: 1.681 MB / 3.237 GB, free: 0.9995 GB / 1.901 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07306/7.67, allocations: 20.79 MB / 3.257 GB, free: 0.9921 GB / 1.901 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001975/7.67, allocations: 117.1 kB / 3.257 GB, free: 0.9921 GB / 1.901 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001159/7.67, allocations: 3.312 kB / 3.257 GB, free: 0.9921 GB / 1.901 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05642/7.727, allocations: 16.88 MB / 3.274 GB, free: 0.98 GB / 1.901 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 postOpt removeSimpleEquations (simulation): time 0.1183/7.845, allocations: 44.62 MB / 3.317 GB, free: 0.9367 GB / 1.901 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/7.845, allocations: 12.05 kB / 3.317 GB, free: 0.9367 GB / 1.901 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01894/7.864, allocations: 2.957 MB / 3.32 GB, free: 0.9338 GB / 1.901 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00405/7.868, allocations: 0.9491 MB / 3.321 GB, free: 0.9328 GB / 1.901 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003944/7.872, allocations: 359.7 kB / 3.322 GB, free: 0.9325 GB / 1.901 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/7.885, allocations: 18.76 MB / 3.34 GB, free: 0.9128 GB / 1.901 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/7.885, allocations: 4 kB / 3.34 GB, free: 0.9128 GB / 1.901 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "hvaCon2.cooCoi.flowRegime = if hvaCon2.cooCoi.C1_flow * hvaCon2.cooCoi.C2_flow >= 0.0 then Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1703/8.055, allocations: 50.08 MB / 3.389 GB, free: 0.8637 GB / 1.901 GB Error: post-optimization module symbolicJacobian (simulation) failed.