Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.00142/0.00142, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.059/3.059, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_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.002002/0.002002, allocations: 69.45 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 176.1 MB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1919/0.5359, allocations: 163.5 MB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005898/0.5418, allocations: 3.832 MB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.5424, allocations: 19.81 kB / 1.484 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.5431, allocations: 190.7 kB / 1.484 GB, free: 11.22 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.5457, allocations: 0.8751 MB / 1.485 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.5469, allocations: 428.7 kB / 1.486 GB, free: 9.926 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.5486, allocations: 1.018 MB / 1.487 GB, free: 8.902 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.5491, allocations: 258.9 kB / 1.487 GB, free: 8.648 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.5504, allocations: 0.5994 MB / 1.488 GB, free: 8.047 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.5515, allocations: 338.7 kB / 1.488 GB, free: 7.715 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.271e-05/0.5516, allocations: 32 kB / 1.488 GB, free: 7.684 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5531, allocations: 0.7443 MB / 1.489 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.5534, allocations: 163.5 kB / 1.489 GB, free: 6.777 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.5537, allocations: 218.9 kB / 1.489 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.5554, allocations: 0.7552 MB / 1.49 GB, free: 5.805 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5554, allocations: 4 kB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5554, allocations: 0 / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.234e-05/0.5554, allocations: 0 / 1.49 GB, free: 5.801 MB / 1.186 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.001483/0.5569, allocations: 0.755 MB / 1.49 GB, free: 4.996 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5569, allocations: 15.92 kB / 1.49 GB, free: 4.98 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.555e-05/0.557, allocations: 66.53 kB / 1.491 GB, free: 4.906 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.5581, allocations: 139.6 kB / 1.491 GB, free: 4.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.5588, allocations: 410.6 kB / 1.491 GB, free: 4.324 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5589, allocations: 28.66 kB / 1.491 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.5589, allocations: 28 kB / 1.491 GB, free: 4.27 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.5596, allocations: 330 kB / 1.491 GB, free: 3.938 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5596, allocations: 0 / 1.491 GB, free: 3.938 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.5596, allocations: 12 kB / 1.491 GB, free: 3.926 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.5596, allocations: 8 kB / 1.491 GB, free: 3.918 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.5602, allocations: 310.4 kB / 1.492 GB, free: 3.617 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.5621, allocations: 1.205 MB / 1.493 GB, free: 2.301 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.5626, allocations: 273.3 kB / 1.493 GB, free: 2.027 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.5629, allocations: 173.3 kB / 1.493 GB, free: 1.855 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.5632, allocations: 194.5 kB / 1.494 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.5632, allocations: 38.84 kB / 1.494 GB, free: 1.582 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.5632, allocations: 0 / 1.494 GB, free: 1.582 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002314/0.5656, allocations: 1.043 MB / 1.495 GB, free: 500 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.5656, allocations: 55.41 kB / 1.495 GB, free: 432 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.5659, allocations: 312.5 kB / 1.495 GB, free: 112 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.566, allocations: 37.7 kB / 1.495 GB, free: 68 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5661, allocations: 172.9 kB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.5663, allocations: 130.9 kB / 1.495 GB, free: 15.76 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.5664, allocations: 61.64 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5665, allocations: 350.8 kB / 1.496 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.5668, allocations: 115.7 kB / 1.496 GB, free: 15.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.5671, allocations: 162.5 kB / 1.496 GB, free: 15.06 MB / 1.201 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.001882/0.569, allocations: 0.7593 MB / 1.497 GB, free: 14.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.569, allocations: 0 / 1.497 GB, free: 14.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006313/0.5696, allocations: 360.8 kB / 1.497 GB, free: 13.92 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5696, allocations: 8 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5696, allocations: 4.031 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5696, allocations: 3.938 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.5699, allocations: 63.91 kB / 1.497 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.57, allocations: 4 kB / 1.497 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.5703, allocations: 11.98 kB / 1.497 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.5703, allocations: 12 kB / 1.497 GB, free: 13.82 MB / 1.201 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.0002128/0.5706, allocations: 184 kB / 1.497 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.5706, allocations: 43.77 kB / 1.497 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.5708, allocations: 56 kB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5708, allocations: 0 / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5708, allocations: 4 kB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005849/0.5714, allocations: 404.2 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5731, allocations: 1.074 MB / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5731, allocations: 4 kB / 1.499 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.5735, allocations: 79.89 kB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.5735, allocations: 4 kB / 1.499 GB, free: 11.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.5736, allocations: 16 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.5736, allocations: 11.88 kB / 1.499 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5736, allocations: 4.438 kB / 1.499 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.5746, allocations: 0.6875 MB / 1.5 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5748, allocations: 152.8 kB / 1.5 GB, free: 10.89 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.5749, allocations: 15.94 kB / 1.5 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.5752, allocations: 15.98 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.5753, allocations: 35.84 kB / 1.5 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5754, allocations: 20.06 kB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002576/0.5756, allocations: 227 kB / 1.5 GB, free: 10.58 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5756, allocations: 0 / 1.5 GB, free: 10.58 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005051/0.5761, allocations: 112 kB / 1.5 GB, free: 10.47 MB / 1.201 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.00157/0.5777, allocations: 1.278 MB / 1.501 GB, free: 9.121 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.5783, allocations: 295.5 kB / 1.502 GB, free: 8.832 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5783, allocations: 4.062 kB / 1.502 GB, free: 8.828 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.5786, allocations: 163.7 kB / 1.502 GB, free: 8.668 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.5798, allocations: 223.7 kB / 1.502 GB, free: 8.457 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.5853, allocations: 3.677 MB / 1.506 GB, free: 4.613 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.5857, allocations: 0.8351 MB / 1.506 GB, free: 3.75 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.5861, allocations: 103.2 kB / 1.507 GB, free: 3.645 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5863, allocations: 115.4 kB / 1.507 GB, free: 3.531 MB / 1.201 GB Notification: Performance of SimCode: time 9.51e-07/0.5863, allocations: 0 / 1.507 GB, free: 3.531 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.6276, allocations: 11.2 MB / 1.518 GB, free: 8.574 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.022, allocations: 0 / 1.518 GB, free: 8.574 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.486220558872446]