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.00127/0.00127, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00143/0.00143, allocations: 211.8 kB / 23.03 MB, free: 4.922 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.713/2.713, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_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.001925/0.001925, allocations: 61.12 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.309, allocations: 169.9 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1696/0.4786, allocations: 141 MB / 1.422 GB, free: 13.19 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.4839, allocations: 3.526 MB / 1.425 GB, free: 9.656 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/0.4843, allocations: 19.81 kB / 1.425 GB, free: 9.637 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.4849, allocations: 186.7 kB / 1.425 GB, free: 9.453 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.4872, allocations: 0.8634 MB / 1.426 GB, free: 8.586 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4882, allocations: 444.2 kB / 1.427 GB, free: 8.156 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.4896, allocations: 1.05 MB / 1.428 GB, free: 7.105 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.49, allocations: 233.1 kB / 1.428 GB, free: 6.871 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.4908, allocations: 426.4 kB / 1.428 GB, free: 6.453 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.4918, allocations: 350.9 kB / 1.429 GB, free: 6.113 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/0.4918, allocations: 32 kB / 1.429 GB, free: 6.082 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.4931, allocations: 0.6116 MB / 1.429 GB, free: 5.469 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.4933, allocations: 167.5 kB / 1.429 GB, free: 5.305 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4935, allocations: 179.2 kB / 1.43 GB, free: 5.129 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.4948, allocations: 0.7435 MB / 1.43 GB, free: 4.383 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4948, allocations: 0 / 1.43 GB, free: 4.383 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4948, allocations: 0 / 1.43 GB, free: 4.383 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4948, allocations: 0 / 1.43 GB, free: 4.383 MB / 1.123 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.001194/0.496, allocations: 0.6758 MB / 1.431 GB, free: 3.676 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4961, allocations: 15.97 kB / 1.431 GB, free: 3.66 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.4961, allocations: 4.656 kB / 1.431 GB, free: 3.656 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.296e-05/0.4962, allocations: 66.53 kB / 1.431 GB, free: 3.582 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4972, allocations: 155.5 kB / 1.431 GB, free: 3.43 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/0.4978, allocations: 336.2 kB / 1.432 GB, free: 3.074 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.4978, allocations: 24.66 kB / 1.432 GB, free: 3.051 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.4979, allocations: 28 kB / 1.432 GB, free: 3.023 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.4986, allocations: 436.8 kB / 1.432 GB, free: 2.566 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4986, allocations: 3.984 kB / 1.432 GB, free: 2.562 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.4986, allocations: 12 kB / 1.432 GB, free: 2.551 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4987, allocations: 8 kB / 1.432 GB, free: 2.543 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.4992, allocations: 310.3 kB / 1.432 GB, free: 2.238 MB / 1.123 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.001655/0.5009, allocations: 0.8665 MB / 1.433 GB, free: 1.324 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.5014, allocations: 271.4 kB / 1.433 GB, free: 1.051 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.5016, allocations: 167.2 kB / 1.434 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.5019, allocations: 44.25 kB / 1.434 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5019, allocations: 34.84 kB / 1.434 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.5019, allocations: 3.938 kB / 1.434 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.002423/0.5043, allocations: 0.9752 MB / 1.435 GB, free: 15.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.5044, allocations: 59.34 kB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.5048, allocations: 316.5 kB / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.5048, allocations: 29.7 kB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.505, allocations: 184.8 kB / 1.435 GB, free: 15.18 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.5051, allocations: 126.9 kB / 1.435 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.5053, allocations: 61.7 kB / 1.435 GB, free: 14.99 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5055, allocations: 342.8 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.5057, allocations: 115.9 kB / 1.436 GB, free: 14.53 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.506, allocations: 266.9 kB / 1.436 GB, free: 14.24 MB / 1.139 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.001962/0.508, allocations: 0.6868 MB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.508, allocations: 0 / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007304/0.5087, allocations: 361 kB / 1.437 GB, free: 13.19 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.5088, allocations: 4 kB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5088, allocations: 3.938 kB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.5088, allocations: 4 kB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.5092, allocations: 67.91 kB / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5092, allocations: 0 / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.5096, allocations: 15.98 kB / 1.437 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.5097, allocations: 12 kB / 1.437 GB, free: 13.08 MB / 1.139 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.000379/0.51, allocations: 182.2 kB / 1.437 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5102, allocations: 39.77 kB / 1.437 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.5103, allocations: 56.03 kB / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5103, allocations: 4 kB / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5103, allocations: 0 / 1.437 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007135/0.511, allocations: 412.3 kB / 1.438 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.5132, allocations: 0.9781 MB / 1.439 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5132, allocations: 4 kB / 1.439 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.5136, allocations: 84.36 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.5136, allocations: 4 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.5137, allocations: 19.94 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.5137, allocations: 7.938 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5137, allocations: 4 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5148, allocations: 0.6875 MB / 1.44 GB, free: 10.42 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.515, allocations: 75.72 kB / 1.44 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.5151, allocations: 23.88 kB / 1.44 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.5154, allocations: 15.98 kB / 1.44 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.5155, allocations: 31.89 kB / 1.44 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.5156, allocations: 16 kB / 1.44 GB, free: 10.26 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002603/0.5158, allocations: 231 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5158, allocations: 0 / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005123/0.5163, allocations: 115.9 kB / 1.44 GB, free: 9.922 MB / 1.139 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.001553/0.5179, allocations: 1.276 MB / 1.441 GB, free: 8.57 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006714/0.5186, allocations: 293.6 kB / 1.442 GB, free: 8.285 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5186, allocations: 4 kB / 1.442 GB, free: 8.281 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.5189, allocations: 164.7 kB / 1.442 GB, free: 8.121 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5201, allocations: 226.3 kB / 1.442 GB, free: 7.91 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.5254, allocations: 3.68 MB / 1.446 GB, free: 4.055 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5256, allocations: 226.1 kB / 1.446 GB, free: 3.809 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000407/0.526, allocations: 115.2 kB / 1.446 GB, free: 3.695 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.5263, allocations: 119.4 kB / 1.446 GB, free: 3.578 MB / 1.139 GB Notification: Performance of SimCode: time 1.733e-06/0.5263, allocations: 0 / 1.446 GB, free: 3.578 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.5653, allocations: 12.16 MB / 1.458 GB, free: 7.785 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.64, allocations: 10 kB / 1.458 GB, free: 7.781 MB / 1.154 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: 19.220582306035794]