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.00132/0.00132, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001801/0.001801, allocations: 215.4 kB / 22.25 MB, free: 5.129 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.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.703/2.703, allocations: 476.7 MB / 0.7707 GB, free: 4.234 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 63.05 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1975/0.5015, allocations: 163.6 MB / 1.443 GB, free: 7.395 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.5071, allocations: 3.841 MB / 1.447 GB, free: 3.543 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/0.5076, allocations: 19.81 kB / 1.447 GB, free: 3.523 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.5084, allocations: 198.7 kB / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.5108, allocations: 0.8829 MB / 1.448 GB, free: 2.441 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.512, allocations: 453.4 kB / 1.448 GB, free: 2.004 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001652/0.5136, allocations: 1.054 MB / 1.449 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005104/0.5141, allocations: 237.1 kB / 1.45 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/0.5151, allocations: 427 kB / 1.45 GB, free: 300 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.5162, allocations: 351.9 kB / 1.45 GB, free: 15.95 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.5163, allocations: 32 kB / 1.45 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.5179, allocations: 0.7754 MB / 1.451 GB, free: 15.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.5181, allocations: 167.4 kB / 1.451 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.5184, allocations: 211 kB / 1.452 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5198, allocations: 0.7591 MB / 1.452 GB, free: 14.01 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5198, allocations: 4 kB / 1.452 GB, free: 14.01 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5198, allocations: 0 / 1.452 GB, free: 14.01 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.5199, allocations: 0 / 1.452 GB, free: 14.01 MB / 1.154 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.001438/0.5213, allocations: 0.6775 MB / 1.453 GB, free: 13.3 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5213, allocations: 11.97 kB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.447e-05/0.5214, allocations: 62.55 kB / 1.453 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.5226, allocations: 155.6 kB / 1.453 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.5233, allocations: 336.2 kB / 1.454 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.5234, allocations: 24.66 kB / 1.454 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.037e-05/0.5234, allocations: 31.95 kB / 1.454 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.5241, allocations: 326 kB / 1.454 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5241, allocations: 0 / 1.454 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.5241, allocations: 15.94 kB / 1.454 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.5241, allocations: 8 kB / 1.454 GB, free: 12.31 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.5247, allocations: 310.3 kB / 1.454 GB, free: 12.01 MB / 1.154 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.001992/0.5267, allocations: 1.17 MB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.5272, allocations: 279.4 kB / 1.456 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.5275, allocations: 173.3 kB / 1.456 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.5277, allocations: 40.25 kB / 1.456 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5277, allocations: 38.84 kB / 1.456 GB, free: 10.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.5278, allocations: 0 / 1.456 GB, free: 10.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002253/0.53, allocations: 0.9752 MB / 1.457 GB, free: 9.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.53, allocations: 55.41 kB / 1.457 GB, free: 9.121 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.5304, allocations: 312.5 kB / 1.457 GB, free: 8.805 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.5305, allocations: 37.7 kB / 1.457 GB, free: 8.762 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.5306, allocations: 172.9 kB / 1.457 GB, free: 8.586 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5307, allocations: 130.8 kB / 1.458 GB, free: 8.457 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5308, allocations: 61.7 kB / 1.458 GB, free: 8.391 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.531, allocations: 350.8 kB / 1.458 GB, free: 8.039 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.5313, allocations: 115.9 kB / 1.458 GB, free: 7.926 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5315, allocations: 160 kB / 1.458 GB, free: 7.762 MB / 1.154 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.001795/0.5333, allocations: 0.6915 MB / 1.459 GB, free: 7.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5333, allocations: 0 / 1.459 GB, free: 7.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006309/0.534, allocations: 353 kB / 1.459 GB, free: 6.719 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.534, allocations: 12.03 kB / 1.459 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.534, allocations: 0 / 1.459 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.534, allocations: 3.938 kB / 1.459 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.5343, allocations: 63.91 kB / 1.459 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5344, allocations: 4 kB / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.5347, allocations: 15.98 kB / 1.459 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.5347, allocations: 11.94 kB / 1.459 GB, free: 6.609 MB / 1.154 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.0002227/0.5349, allocations: 178.3 kB / 1.459 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.535, allocations: 39.77 kB / 1.459 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.5351, allocations: 63.92 kB / 1.46 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5351, allocations: 3.938 kB / 1.46 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5351, allocations: 8 kB / 1.46 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006096/0.5358, allocations: 404.4 kB / 1.46 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.5376, allocations: 1.035 MB / 1.461 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.5376, allocations: 4 kB / 1.461 GB, free: 4.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.538, allocations: 87.83 kB / 1.461 GB, free: 4.668 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.538, allocations: 4 kB / 1.461 GB, free: 4.664 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.538, allocations: 12 kB / 1.461 GB, free: 4.652 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.538, allocations: 8.406 kB / 1.461 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.538, allocations: 8 kB / 1.461 GB, free: 4.637 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.539, allocations: 0.6914 MB / 1.462 GB, free: 3.883 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.5392, allocations: 67.73 kB / 1.462 GB, free: 3.816 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.5393, allocations: 15.92 kB / 1.462 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.5396, allocations: 12 kB / 1.462 GB, free: 3.789 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.5397, allocations: 35.95 kB / 1.462 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.5397, allocations: 19.98 kB / 1.462 GB, free: 3.734 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002666/0.54, allocations: 231 kB / 1.462 GB, free: 3.512 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.54, allocations: 3.938 kB / 1.462 GB, free: 3.508 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005304/0.5405, allocations: 111.9 kB / 1.462 GB, free: 3.398 MB / 1.154 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.001562/0.5421, allocations: 1.272 MB / 1.463 GB, free: 2.051 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006404/0.5427, allocations: 307.6 kB / 1.464 GB, free: 1.75 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5427, allocations: 0 / 1.464 GB, free: 1.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.543, allocations: 155.7 kB / 1.464 GB, free: 1.598 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5442, allocations: 229 kB / 1.464 GB, free: 1.379 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.5494, allocations: 3.679 MB / 1.468 GB, free: 13.53 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.5499, allocations: 0.8389 MB / 1.469 GB, free: 12.67 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000342/0.5503, allocations: 95.2 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.5505, allocations: 123.4 kB / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of SimCode: time 7.31e-07/0.5505, allocations: 0 / 1.469 GB, free: 12.45 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.5975, allocations: 11.51 MB / 1.48 GB, free: 1.195 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.49, allocations: 5.047 kB / 1.48 GB, free: 1.195 MB / 1.17 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] 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: 18.876054499996826]