Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001556/0.001556, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001717/0.001717, allocations: 215 kB / 20.13 MB, free: 2.949 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",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.002206/0.002206, allocations: 67.91 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9456, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2222/1.168, allocations: 163.6 MB / 1.5 GB, free: 4.543 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005696/1.174, allocations: 3.831 MB / 1.504 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/1.174, allocations: 19.81 kB / 1.504 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006774/1.175, allocations: 186.7 kB / 1.504 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/1.177, allocations: 0.8752 MB / 1.505 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/1.178, allocations: 426.8 kB / 1.505 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001294/1.179, allocations: 1.022 MB / 1.506 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/1.179, allocations: 249 kB / 1.506 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.181, allocations: 0.6033 MB / 1.507 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009637/1.182, allocations: 349.8 kB / 1.507 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/1.182, allocations: 32 kB / 1.507 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/1.183, allocations: 0.7482 MB / 1.508 GB, free: 12.37 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/1.183, allocations: 163.5 kB / 1.508 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/1.183, allocations: 214.9 kB / 1.508 GB, free: 12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/1.185, allocations: 0.7592 MB / 1.509 GB, free: 11.23 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.185, allocations: 0 / 1.509 GB, free: 11.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.704e-06/1.185, allocations: 0 / 1.509 GB, free: 11.23 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.185, allocations: 0 / 1.509 GB, free: 11.23 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.001401/1.186, allocations: 0.7589 MB / 1.51 GB, free: 10.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.186, allocations: 8.031 kB / 1.51 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.253e-05/1.186, allocations: 8.656 kB / 1.51 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.544e-05/1.186, allocations: 66.53 kB / 1.51 GB, free: 10.33 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.187, allocations: 155.5 kB / 1.51 GB, free: 10.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/1.188, allocations: 390.8 kB / 1.51 GB, free: 9.758 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/1.188, allocations: 28.66 kB / 1.51 GB, free: 9.73 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/1.188, allocations: 35.98 kB / 1.51 GB, free: 9.695 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/1.189, allocations: 326 kB / 1.511 GB, free: 9.375 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.189, allocations: 0 / 1.511 GB, free: 9.375 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/1.189, allocations: 12 kB / 1.511 GB, free: 9.363 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.189, allocations: 4 kB / 1.511 GB, free: 9.359 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/1.189, allocations: 314.3 kB / 1.511 GB, free: 9.047 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/1.191, allocations: 1.201 MB / 1.512 GB, free: 7.734 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/1.192, allocations: 275.3 kB / 1.513 GB, free: 7.457 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/1.192, allocations: 173.3 kB / 1.513 GB, free: 7.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/1.192, allocations: 190.5 kB / 1.513 GB, free: 7.062 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.192, allocations: 38.84 kB / 1.513 GB, free: 7.016 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/1.192, allocations: 0 / 1.513 GB, free: 7.016 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002298/1.194, allocations: 1.05 MB / 1.514 GB, free: 5.922 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.195, allocations: 59.41 kB / 1.514 GB, free: 5.852 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/1.195, allocations: 316.5 kB / 1.514 GB, free: 5.539 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/1.195, allocations: 37.64 kB / 1.514 GB, free: 5.496 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/1.195, allocations: 176.8 kB / 1.515 GB, free: 5.32 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.195, allocations: 126.9 kB / 1.515 GB, free: 5.195 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.195, allocations: 61.7 kB / 1.515 GB, free: 5.129 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.196, allocations: 346.8 kB / 1.515 GB, free: 4.781 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.196, allocations: 115.9 kB / 1.515 GB, free: 4.668 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/1.196, allocations: 163.1 kB / 1.515 GB, free: 4.5 MB / 1.186 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.001857/1.198, allocations: 0.7525 MB / 1.516 GB, free: 3.723 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/1.198, allocations: 0 / 1.516 GB, free: 3.723 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006386/1.199, allocations: 361.1 kB / 1.516 GB, free: 3.363 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.199, allocations: 5.25 kB / 1.516 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.199, allocations: 7.938 kB / 1.516 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.199, allocations: 0 / 1.516 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/1.199, allocations: 71.92 kB / 1.516 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.199, allocations: 0 / 1.516 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/1.199, allocations: 12 kB / 1.516 GB, free: 3.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/1.199, allocations: 19.92 kB / 1.516 GB, free: 3.25 MB / 1.186 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.0002344/1.2, allocations: 175.5 kB / 1.517 GB, free: 3.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/1.2, allocations: 39.77 kB / 1.517 GB, free: 3.031 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.2, allocations: 52 kB / 1.517 GB, free: 2.977 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/1.2, allocations: 8 kB / 1.517 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.2, allocations: 0 / 1.517 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000644/1.2, allocations: 412.2 kB / 1.517 GB, free: 2.535 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.202, allocations: 1.074 MB / 1.518 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.202, allocations: 4 kB / 1.518 GB, free: 1.355 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/1.203, allocations: 79.89 kB / 1.518 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/1.203, allocations: 4 kB / 1.518 GB, free: 1.273 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/1.203, allocations: 19.94 kB / 1.518 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.036e-06/1.203, allocations: 11.92 kB / 1.518 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.203, allocations: 4 kB / 1.518 GB, free: 1.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.204, allocations: 0.6879 MB / 1.519 GB, free: 500 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/1.204, allocations: 152.9 kB / 1.519 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/1.204, allocations: 15.94 kB / 1.519 GB, free: 312 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/1.204, allocations: 15.98 kB / 1.519 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/1.204, allocations: 35.84 kB / 1.519 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/1.204, allocations: 16 kB / 1.519 GB, free: 244 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002376/1.205, allocations: 227 kB / 1.519 GB, free: 16 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.205, allocations: 4 kB / 1.519 GB, free: 12 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005166/1.205, allocations: 119.9 kB / 1.52 GB, free: 15.89 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.001497/1.207, allocations: 1.265 MB / 1.521 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005904/1.207, allocations: 295.5 kB / 1.521 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.207, allocations: 4 kB / 1.521 GB, free: 14.26 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/1.207, allocations: 167.8 kB / 1.521 GB, free: 14.1 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.209, allocations: 223.9 kB / 1.521 GB, free: 13.88 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004984/1.214, allocations: 3.675 MB / 1.525 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/1.214, allocations: 0.8274 MB / 1.526 GB, free: 9.191 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003263/1.214, allocations: 115.2 kB / 1.526 GB, free: 9.078 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.215, allocations: 115.4 kB / 1.526 GB, free: 8.965 MB / 1.201 GB Notification: Performance of SimCode: time 4.71e-07/1.215, allocations: 0 / 1.526 GB, free: 8.965 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/1.25, allocations: 11.25 MB / 1.537 GB, free: 13.97 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.931, allocations: 6.688 kB / 1.537 GB, free: 13.96 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.33691361901583]