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.001834/0.001834, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002485/0.002485, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 8.039 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.039/3.039, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.00203/0.00203, allocations: 69.92 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1986/0.5413, allocations: 163.7 MB / 1.486 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005947/0.5473, allocations: 3.858 MB / 1.49 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.5477, allocations: 19.81 kB / 1.49 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.5484, allocations: 190.7 kB / 1.49 GB, free: 9.586 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.5508, allocations: 0.8829 MB / 1.491 GB, free: 8.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.5519, allocations: 462.5 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5534, allocations: 1.046 MB / 1.492 GB, free: 7.195 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.5538, allocations: 237.1 kB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.5551, allocations: 0.6111 MB / 1.493 GB, free: 6.348 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009557/0.5561, allocations: 342.3 kB / 1.493 GB, free: 6.02 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.5561, allocations: 36 kB / 1.493 GB, free: 5.984 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.5576, allocations: 0.7599 MB / 1.494 GB, free: 5.223 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.5578, allocations: 163.5 kB / 1.494 GB, free: 5.062 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.5581, allocations: 218.9 kB / 1.494 GB, free: 4.848 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.5595, allocations: 0.7552 MB / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5595, allocations: 0 / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5595, allocations: 0 / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.5595, allocations: 3.938 kB / 1.495 GB, free: 4.086 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.001224/0.5607, allocations: 0.6759 MB / 1.496 GB, free: 3.379 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5608, allocations: 12.03 kB / 1.496 GB, free: 3.367 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.175e-05/0.5608, allocations: 66.53 kB / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5619, allocations: 147.6 kB / 1.496 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.5626, allocations: 340.1 kB / 1.496 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5626, allocations: 24.66 kB / 1.496 GB, free: 2.762 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.5627, allocations: 32 kB / 1.496 GB, free: 2.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.5633, allocations: 325.9 kB / 1.497 GB, free: 2.406 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5633, allocations: 4 kB / 1.497 GB, free: 2.402 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.5633, allocations: 8 kB / 1.497 GB, free: 2.395 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5633, allocations: 8 kB / 1.497 GB, free: 2.387 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.5639, allocations: 310.3 kB / 1.497 GB, free: 2.082 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.5658, allocations: 1.17 MB / 1.498 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.5663, allocations: 275.4 kB / 1.498 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.5666, allocations: 173.3 kB / 1.499 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.5668, allocations: 32.27 kB / 1.499 GB, free: 336 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.5669, allocations: 50.77 kB / 1.499 GB, free: 276 kB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.5669, allocations: 0 / 1.499 GB, free: 276 kB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002257/0.5691, allocations: 0.9626 MB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5692, allocations: 55.41 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.5695, allocations: 320.5 kB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.5696, allocations: 33.7 kB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5697, allocations: 180.8 kB / 1.5 GB, free: 14.67 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.5698, allocations: 126.8 kB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.5699, allocations: 57.7 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5701, allocations: 342.8 kB / 1.501 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.5703, allocations: 127.7 kB / 1.501 GB, free: 14.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.5706, allocations: 158.9 kB / 1.501 GB, free: 13.85 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.001816/0.5724, allocations: 0.6865 MB / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5724, allocations: 0 / 1.502 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006383/0.573, allocations: 357 kB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5731, allocations: 4 kB / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5731, allocations: 32 / 1.502 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.5731, allocations: 15.88 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.5734, allocations: 67.89 kB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5734, allocations: 4 kB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.5737, allocations: 16 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5738, allocations: 15.98 kB / 1.502 GB, free: 12.68 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.0002264/0.574, allocations: 169.8 kB / 1.502 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.5741, allocations: 35.77 kB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.5742, allocations: 60 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.5742, allocations: 4 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5742, allocations: 0 / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005867/0.5748, allocations: 408.4 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.5765, allocations: 1.034 MB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5765, allocations: 4 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.5769, allocations: 87.83 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.5769, allocations: 4.047 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.5769, allocations: 15.98 kB / 1.504 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.5769, allocations: 7.938 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.577, allocations: 12.3 kB / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.578, allocations: 0.6852 MB / 1.504 GB, free: 9.977 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.5782, allocations: 71.75 kB / 1.505 GB, free: 9.906 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.5782, allocations: 15.94 kB / 1.505 GB, free: 9.891 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.5785, allocations: 19.98 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.5786, allocations: 35.83 kB / 1.505 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.5787, allocations: 16 kB / 1.505 GB, free: 9.82 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002478/0.5789, allocations: 231.1 kB / 1.505 GB, free: 9.594 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5789, allocations: 0 / 1.505 GB, free: 9.594 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004823/0.5794, allocations: 115.9 kB / 1.505 GB, free: 9.48 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.001489/0.5809, allocations: 1.276 MB / 1.506 GB, free: 8.129 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.5815, allocations: 299.5 kB / 1.506 GB, free: 7.836 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.5815, allocations: 0 / 1.506 GB, free: 7.836 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.5818, allocations: 161.2 kB / 1.507 GB, free: 7.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5829, allocations: 223.9 kB / 1.507 GB, free: 7.461 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.5881, allocations: 3.67 MB / 1.51 GB, free: 3.625 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.5886, allocations: 0.8273 MB / 1.511 GB, free: 2.77 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.589, allocations: 107.2 kB / 1.511 GB, free: 2.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.5892, allocations: 115.4 kB / 1.511 GB, free: 2.547 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.5892, allocations: 0 / 1.511 GB, free: 2.547 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0627/0.6519, allocations: 11.51 MB / 1.523 GB, free: 7.297 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.39, allocations: 7.938 kB / 1.523 GB, free: 7.289 MB / 1.217 GB " [Timeout remaining time 287] (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: 18.824699603952467]