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.001234/0.001234, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001383/0.001383, allocations: 218.5 kB / 22.25 MB, free: 5.258 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.789 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 2.965/2.965, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.001895/0.001895, allocations: 73.22 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1667/0.4586, allocations: 141.1 MB / 1.464 GB, free: 3.859 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005192/0.4638, allocations: 3.543 MB / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.4642, allocations: 23.81 kB / 1.467 GB, free: 288 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.4648, allocations: 182.7 kB / 1.467 GB, free: 104 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.4669, allocations: 0.8597 MB / 1.468 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.4679, allocations: 440.2 kB / 1.469 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4694, allocations: 1.057 MB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.4698, allocations: 233.1 kB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.4711, allocations: 0.6072 MB / 1.47 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000946/0.472, allocations: 346.5 kB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.919e-05/0.4721, allocations: 32 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4733, allocations: 0.5922 MB / 1.471 GB, free: 11.95 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.4735, allocations: 167.5 kB / 1.471 GB, free: 11.78 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.4737, allocations: 183.1 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.4749, allocations: 0.7435 MB / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4749, allocations: 0 / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4749, allocations: 0 / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.4749, allocations: 0 / 1.472 GB, free: 10.86 MB / 1.17 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.001121/0.476, allocations: 0.6732 MB / 1.473 GB, free: 10.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.476, allocations: 12.03 kB / 1.473 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.4761, allocations: 66.47 kB / 1.473 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4771, allocations: 151.6 kB / 1.473 GB, free: 9.918 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.4778, allocations: 336.2 kB / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.4778, allocations: 28.66 kB / 1.474 GB, free: 9.531 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.4779, allocations: 31.95 kB / 1.474 GB, free: 9.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.4785, allocations: 428.8 kB / 1.474 GB, free: 9.051 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4785, allocations: 4 kB / 1.474 GB, free: 9.047 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.4785, allocations: 8 kB / 1.474 GB, free: 9.039 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4785, allocations: 8 kB / 1.474 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.4791, allocations: 314.3 kB / 1.474 GB, free: 8.723 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.4806, allocations: 0.8627 MB / 1.475 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.4811, allocations: 271.3 kB / 1.475 GB, free: 7.539 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.4814, allocations: 177.3 kB / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.4816, allocations: 36.27 kB / 1.476 GB, free: 7.328 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4816, allocations: 38.84 kB / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.4816, allocations: 0 / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002083/0.4837, allocations: 0.9671 MB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4837, allocations: 59.34 kB / 1.477 GB, free: 6.211 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.4841, allocations: 320.5 kB / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.4841, allocations: 29.7 kB / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.4842, allocations: 180.8 kB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4844, allocations: 130.9 kB / 1.477 GB, free: 5.551 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4845, allocations: 61.7 kB / 1.477 GB, free: 5.484 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4846, allocations: 346.8 kB / 1.478 GB, free: 5.137 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.4849, allocations: 123.6 kB / 1.478 GB, free: 5.016 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.4852, allocations: 265 kB / 1.478 GB, free: 4.723 MB / 1.17 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.001748/0.4869, allocations: 0.6801 MB / 1.479 GB, free: 4.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4869, allocations: 3.938 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005938/0.4875, allocations: 353 kB / 1.479 GB, free: 3.684 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4875, allocations: 8 kB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4875, allocations: 0 / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4876, allocations: 3.938 kB / 1.479 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.4879, allocations: 67.91 kB / 1.479 GB, free: 3.605 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4879, allocations: 8.031 kB / 1.479 GB, free: 3.598 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.4882, allocations: 11.98 kB / 1.479 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.4883, allocations: 16 kB / 1.479 GB, free: 3.57 MB / 1.17 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.0002/0.4885, allocations: 173.7 kB / 1.479 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.4885, allocations: 35.77 kB / 1.479 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.4886, allocations: 56 kB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4886, allocations: 8 kB / 1.479 GB, free: 3.293 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4886, allocations: 0 / 1.479 GB, free: 3.293 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005708/0.4892, allocations: 416.3 kB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4909, allocations: 0.9801 MB / 1.481 GB, free: 1.781 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4909, allocations: 4 kB / 1.481 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.4913, allocations: 75.89 kB / 1.481 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.4913, allocations: 8 kB / 1.481 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4913, allocations: 8 kB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.4913, allocations: 19.86 kB / 1.481 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4913, allocations: 4 kB / 1.481 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.4923, allocations: 0.6963 MB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.4925, allocations: 67.73 kB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.4925, allocations: 15.94 kB / 1.482 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.4929, allocations: 15.98 kB / 1.482 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.4929, allocations: 35.83 kB / 1.482 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.493, allocations: 16 kB / 1.482 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002447/0.4932, allocations: 235 kB / 1.482 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.4932, allocations: 0 / 1.482 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004691/0.4937, allocations: 112 kB / 1.482 GB, free: 428 kB / 1.17 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.001456/0.4951, allocations: 1.279 MB / 1.483 GB, free: 15.06 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.4957, allocations: 291.5 kB / 1.484 GB, free: 14.78 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4957, allocations: 3.938 kB / 1.484 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.496, allocations: 169.6 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4971, allocations: 227.7 kB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.5017, allocations: 3.673 MB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5019, allocations: 226.2 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.5023, allocations: 107.2 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5025, allocations: 119.4 kB / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of SimCode: time 9.32e-07/0.5025, allocations: 0 / 1.488 GB, free: 10.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.5441, allocations: 12.57 MB / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.11, allocations: 9.672 kB / 1.5 GB, free: 13.82 MB / 1.201 GB " [Timeout remaining time 289] (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: 17.227559404011117]