Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.669/2.669, allocations: 359.1 MB / 0.6044 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 67.91 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3379, allocations: 169.9 MB / 1.117 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.8079/1.146, allocations: 141 MB / 1.255 GB, free: 1.043 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007846/1.154, allocations: 3.54 MB / 1.259 GB, free: 14.67 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/1.154, allocations: 19.97 kB / 1.259 GB, free: 14.66 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/1.155, allocations: 182.3 kB / 1.259 GB, free: 14.55 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/1.158, allocations: 0.8583 MB / 1.26 GB, free: 14.11 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/1.16, allocations: 440.3 kB / 1.26 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002161/1.162, allocations: 1.044 MB / 1.261 GB, free: 13.44 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/1.163, allocations: 240 kB / 1.261 GB, free: 13.33 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/1.164, allocations: 432.2 kB / 1.262 GB, free: 13.14 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.165, allocations: 336 kB / 1.262 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/1.165, allocations: 30.38 kB / 1.262 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/1.167, allocations: 0.6011 MB / 1.263 GB, free: 12.8 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/1.167, allocations: 178.5 kB / 1.263 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/1.168, allocations: 178.5 kB / 1.263 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/1.169, allocations: 0.7365 MB / 1.264 GB, free: 12.38 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.169, allocations: 1.875 kB / 1.264 GB, free: 12.38 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.753e-06/1.169, allocations: 0 / 1.264 GB, free: 12.38 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.169, allocations: 0 / 1.264 GB, free: 12.38 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001658/1.171, allocations: 0.6683 MB / 1.264 GB, free: 11.89 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.171, allocations: 12.66 kB / 1.264 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/1.173, allocations: 152.1 kB / 1.265 GB, free: 11.85 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/1.174, allocations: 338.6 kB / 1.265 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/1.174, allocations: 22.19 kB / 1.265 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/1.174, allocations: 28.03 kB / 1.265 GB, free: 11.6 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.175, allocations: 432.3 kB / 1.265 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.175, allocations: 0 / 1.265 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/1.175, allocations: 10.47 kB / 1.265 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.175, allocations: 15.47 kB / 1.265 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/1.176, allocations: 302.5 kB / 1.266 GB, free: 11.25 MB / 1.123 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.002315/1.178, allocations: 0.8106 MB / 1.266 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/1.179, allocations: 276.5 kB / 1.267 GB, free: 10.67 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/1.179, allocations: 175.9 kB / 1.267 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.179, allocations: 33.72 kB / 1.267 GB, free: 10.61 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/1.179, allocations: 37.97 kB / 1.267 GB, free: 10.56 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/1.179, allocations: 5.062 kB / 1.267 GB, free: 10.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.002593/1.182, allocations: 0.9515 MB / 1.268 GB, free: 10.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.182, allocations: 55.41 kB / 1.268 GB, free: 10.03 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/1.182, allocations: 268.7 kB / 1.268 GB, free: 9.871 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/1.182, allocations: 32.33 kB / 1.268 GB, free: 9.836 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/1.183, allocations: 182.8 kB / 1.268 GB, free: 9.684 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1.183, allocations: 132 kB / 1.269 GB, free: 9.578 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/1.183, allocations: 60.39 kB / 1.269 GB, free: 9.543 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.183, allocations: 340.1 kB / 1.269 GB, free: 9.219 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/1.183, allocations: 116.8 kB / 1.269 GB, free: 9.184 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/1.184, allocations: 264.7 kB / 1.269 GB, free: 8.996 MB / 1.123 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/1.186, allocations: 0.6955 MB / 1.27 GB, free: 8.762 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.186, allocations: 0 / 1.27 GB, free: 8.762 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006502/1.186, allocations: 348.2 kB / 1.27 GB, free: 8.621 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.186, allocations: 10.31 kB / 1.27 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.186, allocations: 0 / 1.27 GB, free: 8.617 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.186, allocations: 6.266 kB / 1.27 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/1.187, allocations: 64.05 kB / 1.27 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.187, allocations: 5.406 kB / 1.27 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/1.187, allocations: 19.03 kB / 1.27 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/1.187, allocations: 8.031 kB / 1.27 GB, free: 8.598 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0002293/1.187, allocations: 176.1 kB / 1.271 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/1.187, allocations: 35.95 kB / 1.271 GB, free: 8.434 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/1.187, allocations: 51.25 kB / 1.271 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.187, allocations: 8.047 kB / 1.271 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.187, allocations: 5.75 kB / 1.271 GB, free: 8.387 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006269/1.188, allocations: 406.7 kB / 1.271 GB, free: 8.145 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.19, allocations: 0.9351 MB / 1.272 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.19, allocations: 3.469 kB / 1.272 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/1.19, allocations: 85.69 kB / 1.272 GB, free: 7.559 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/1.19, allocations: 6.516 kB / 1.272 GB, free: 7.559 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.19, allocations: 11.27 kB / 1.272 GB, free: 7.555 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.19, allocations: 11.27 kB / 1.272 GB, free: 7.551 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.19, allocations: 3.562 kB / 1.272 GB, free: 7.551 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.191, allocations: 0.6841 MB / 1.273 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/1.191, allocations: 65.62 kB / 1.273 GB, free: 7.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/1.191, allocations: 10.94 kB / 1.273 GB, free: 7.086 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/1.192, allocations: 16.03 kB / 1.273 GB, free: 7.082 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/1.192, allocations: 36.94 kB / 1.273 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/1.192, allocations: 20.58 kB / 1.273 GB, free: 7.066 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001978/1.192, allocations: 186.8 kB / 1.273 GB, free: 6.961 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.192, allocations: 0 / 1.273 GB, free: 6.961 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005241/1.193, allocations: 113.2 kB / 1.273 GB, free: 6.945 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.0002825/1.193, allocations: 151.2 kB / 1.273 GB, free: 6.84 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006124/1.194, allocations: 288.9 kB / 1.274 GB, free: 6.758 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.194, allocations: 1.25 kB / 1.274 GB, free: 6.758 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/1.194, allocations: 165.9 kB / 1.274 GB, free: 6.703 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.195, allocations: 185.9 kB / 1.274 GB, free: 6.656 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/1.197, allocations: 0.9738 MB / 1.275 GB, free: 6.031 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/1.197, allocations: 220.7 kB / 1.275 GB, free: 5.934 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003062/1.197, allocations: 100.9 kB / 1.275 GB, free: 5.91 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/1.197, allocations: 31.62 kB / 1.275 GB, free: 5.902 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/1.197, allocations: 4 kB / 1.275 GB, free: 5.898 MB / 1.123 GB Notification: Performance of Templates: time 0.01428/1.212, allocations: 6.618 MB / 1.282 GB, free: 5.164 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.97698182601016]