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.00143/0.00143, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001607/0.001607, allocations: 214.9 kB / 22.25 MB, free: 5.125 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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.95/2.95, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_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.001873/0.001873, allocations: 67.73 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2932, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1783/0.4715, allocations: 163.7 MB / 1.513 GB, free: 4.148 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005252/0.4768, allocations: 3.858 MB / 1.516 GB, free: 288 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003776/0.4772, allocations: 15.88 kB / 1.516 GB, free: 272 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.4778, allocations: 194.7 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.4798, allocations: 0.8908 MB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.4808, allocations: 443.6 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.4822, allocations: 1.053 MB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/0.4826, allocations: 237.1 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.4838, allocations: 0.6072 MB / 1.52 GB, free: 12.85 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.4847, allocations: 338.3 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.4848, allocations: 28 kB / 1.52 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.4862, allocations: 0.7677 MB / 1.521 GB, free: 11.72 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.4865, allocations: 167.5 kB / 1.521 GB, free: 11.56 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003348/0.4868, allocations: 210.9 kB / 1.521 GB, free: 11.35 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.4882, allocations: 0.7591 MB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4882, allocations: 0 / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4882, allocations: 4 kB / 1.522 GB, free: 10.59 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.4883, allocations: 0 / 1.522 GB, free: 10.59 MB / 1.217 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.001351/0.4896, allocations: 0.6758 MB / 1.523 GB, free: 9.879 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4897, allocations: 12.03 kB / 1.523 GB, free: 9.867 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.087e-05/0.4897, allocations: 66.53 kB / 1.523 GB, free: 9.793 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.4908, allocations: 151.6 kB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.4914, allocations: 336.2 kB / 1.523 GB, free: 9.289 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4915, allocations: 20.66 kB / 1.523 GB, free: 9.27 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.4915, allocations: 31.98 kB / 1.523 GB, free: 9.238 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.4921, allocations: 326 kB / 1.524 GB, free: 8.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4922, allocations: 0 / 1.524 GB, free: 8.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.4922, allocations: 12 kB / 1.524 GB, free: 8.898 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4922, allocations: 12 kB / 1.524 GB, free: 8.887 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005651/0.4928, allocations: 306.4 kB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.4946, allocations: 1.174 MB / 1.525 GB, free: 7.312 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.4951, allocations: 279.3 kB / 1.525 GB, free: 7.031 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.4954, allocations: 171.2 kB / 1.525 GB, free: 6.863 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.4956, allocations: 40.25 kB / 1.526 GB, free: 6.824 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4956, allocations: 38.84 kB / 1.526 GB, free: 6.777 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.4956, allocations: 0 / 1.526 GB, free: 6.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.002058/0.4977, allocations: 0.9626 MB / 1.526 GB, free: 5.781 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4977, allocations: 55.41 kB / 1.527 GB, free: 5.715 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.4981, allocations: 320.5 kB / 1.527 GB, free: 5.395 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.4981, allocations: 33.7 kB / 1.527 GB, free: 5.355 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.4982, allocations: 180.8 kB / 1.527 GB, free: 5.172 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.4984, allocations: 134.9 kB / 1.527 GB, free: 5.039 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4985, allocations: 57.7 kB / 1.527 GB, free: 4.977 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4987, allocations: 342.8 kB / 1.528 GB, free: 4.633 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.4989, allocations: 115.9 kB / 1.528 GB, free: 4.52 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4992, allocations: 169.9 kB / 1.528 GB, free: 4.344 MB / 1.217 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.001767/0.5009, allocations: 0.6814 MB / 1.528 GB, free: 3.656 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5009, allocations: 0 / 1.528 GB, free: 3.656 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006189/0.5016, allocations: 361 kB / 1.529 GB, free: 3.297 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5016, allocations: 8 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5016, allocations: 0 / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.5016, allocations: 3.938 kB / 1.529 GB, free: 3.285 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5019, allocations: 67.91 kB / 1.529 GB, free: 3.219 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5019, allocations: 4 kB / 1.529 GB, free: 3.215 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5022, allocations: 11.98 kB / 1.529 GB, free: 3.203 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.5023, allocations: 23.98 kB / 1.529 GB, free: 3.18 MB / 1.217 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.0002252/0.5025, allocations: 177.7 kB / 1.529 GB, free: 2.996 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.5026, allocations: 39.77 kB / 1.529 GB, free: 2.957 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.5027, allocations: 56 kB / 1.529 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5027, allocations: 4 kB / 1.529 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5027, allocations: 0 / 1.529 GB, free: 2.898 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000578/0.5033, allocations: 408.4 kB / 1.53 GB, free: 2.469 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.505, allocations: 1.04 MB / 1.531 GB, free: 1.332 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.505, allocations: 4 kB / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.5054, allocations: 84.36 kB / 1.531 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.5054, allocations: 8 kB / 1.531 GB, free: 1.238 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.5054, allocations: 12 kB / 1.531 GB, free: 1.227 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.5054, allocations: 11.88 kB / 1.531 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5054, allocations: 4 kB / 1.531 GB, free: 1.211 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.5064, allocations: 0.6835 MB / 1.531 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5065, allocations: 71.72 kB / 1.531 GB, free: 408 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.5066, allocations: 11.94 kB / 1.531 GB, free: 396 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.5069, allocations: 19.98 kB / 1.532 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.507, allocations: 39.89 kB / 1.532 GB, free: 336 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.507, allocations: 16 kB / 1.532 GB, free: 320 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002263/0.5072, allocations: 231 kB / 1.532 GB, free: 92 kB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5072, allocations: 0 / 1.532 GB, free: 92 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004522/0.5077, allocations: 108 kB / 1.532 GB, free: 15.98 MB / 1.232 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.001365/0.5091, allocations: 1.291 MB / 1.533 GB, free: 14.62 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.5096, allocations: 295.5 kB / 1.533 GB, free: 14.33 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5096, allocations: 4 kB / 1.533 GB, free: 14.32 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.5099, allocations: 155.7 kB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.511, allocations: 226.8 kB / 1.534 GB, free: 13.96 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.5157, allocations: 3.683 MB / 1.537 GB, free: 10.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.5161, allocations: 0.8312 MB / 1.538 GB, free: 9.238 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.5164, allocations: 95.2 kB / 1.538 GB, free: 9.141 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5166, allocations: 123.4 kB / 1.538 GB, free: 9.02 MB / 1.232 GB Notification: Performance of SimCode: time 3e-07/0.5166, allocations: 0 / 1.538 GB, free: 9.02 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.5582, allocations: 11.5 MB / 1.55 GB, free: 13.73 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.08, allocations: 7.875 kB / 1.55 GB, free: 13.73 MB / 1.248 GB " [Timeout remaining time 289] (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: 17.08257130603306]