Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005086/0.005086, allocations: 99.06 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 198.6 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6318/0.882, allocations: 160.1 MB / 1.323 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.8867, allocations: 3.805 MB / 1.326 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.8869, allocations: 16.31 kB / 1.326 GB, free: 5.961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.8875, allocations: 184.2 kB / 1.326 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.8892, allocations: 0.8425 MB / 1.327 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008501/0.8901, allocations: 430.2 kB / 1.328 GB, free: 5.191 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.8912, allocations: 1.027 MB / 1.329 GB, free: 4.738 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.8916, allocations: 283.2 kB / 1.329 GB, free: 4.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.8922, allocations: 404.4 kB / 1.329 GB, free: 4.449 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.893, allocations: 321.8 kB / 1.33 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.8931, allocations: 31.12 kB / 1.33 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.8942, allocations: 0.7164 MB / 1.33 GB, free: 4.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.8944, allocations: 154.5 kB / 1.331 GB, free: 3.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.8946, allocations: 213.7 kB / 1.331 GB, free: 3.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000964/0.8956, allocations: 0.7623 MB / 1.332 GB, free: 3.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.8956, allocations: 1.25 kB / 1.332 GB, free: 3.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8956, allocations: 0 / 1.332 GB, free: 3.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.8957, allocations: 0 / 1.332 GB, free: 3.59 MB / 1.014 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.001037/0.8967, allocations: 0.7453 MB / 1.332 GB, free: 3.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.8967, allocations: 10.03 kB / 1.332 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.314e-05/0.8968, allocations: 76.45 kB / 1.332 GB, free: 2.938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.8978, allocations: 151.6 kB / 1.332 GB, free: 2.902 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.8983, allocations: 404.5 kB / 1.333 GB, free: 2.602 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.8983, allocations: 25.41 kB / 1.333 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.8984, allocations: 32.88 kB / 1.333 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.8989, allocations: 323.2 kB / 1.333 GB, free: 2.453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.899, allocations: 5.125 kB / 1.333 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.899, allocations: 10.88 kB / 1.333 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.899, allocations: 7.5 kB / 1.333 GB, free: 2.441 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.8995, allocations: 309.8 kB / 1.334 GB, free: 2.352 MB / 1.014 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.001554/0.9011, allocations: 1.205 MB / 1.335 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.9015, allocations: 286 kB / 1.335 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.9018, allocations: 192.8 kB / 1.335 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.9021, allocations: 185.7 kB / 1.335 GB, free: 1.145 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.9021, allocations: 37.12 kB / 1.335 GB, free: 1.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.9021, allocations: 0 / 1.335 GB, free: 1.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.001948/0.9041, allocations: 1.04 MB / 1.336 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.9041, allocations: 55.56 kB / 1.336 GB, free: 476 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.9044, allocations: 316.2 kB / 1.337 GB, free: 304 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.9045, allocations: 32.7 kB / 1.337 GB, free: 268 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.9046, allocations: 188.1 kB / 1.337 GB, free: 104 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.9047, allocations: 129 kB / 1.337 GB, free: 0 / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.9048, allocations: 60.38 kB / 1.337 GB, free: 15.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.905, allocations: 343.5 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.9052, allocations: 120.5 kB / 1.338 GB, free: 15.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.9054, allocations: 165.2 kB / 1.338 GB, free: 15.53 MB / 1.029 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.001668/0.9071, allocations: 0.7628 MB / 1.338 GB, free: 15.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.9071, allocations: 0 / 1.338 GB, free: 15.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005597/0.9077, allocations: 358.2 kB / 1.339 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.9077, allocations: 5.562 kB / 1.339 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.9077, allocations: 0 / 1.339 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9077, allocations: 9.078 kB / 1.339 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.908, allocations: 66.5 kB / 1.339 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.908, allocations: 2.25 kB / 1.339 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.9083, allocations: 19.59 kB / 1.339 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.9084, allocations: 13.19 kB / 1.339 GB, free: 15.03 MB / 1.029 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.0001726/0.9086, allocations: 169.5 kB / 1.339 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.9086, allocations: 41.47 kB / 1.339 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.9087, allocations: 47.34 kB / 1.339 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9088, allocations: 10.11 kB / 1.339 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9088, allocations: 0 / 1.339 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005339/0.9093, allocations: 409.5 kB / 1.34 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.9108, allocations: 1.064 MB / 1.341 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9108, allocations: 3.719 kB / 1.341 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.9112, allocations: 87.47 kB / 1.341 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.9112, allocations: 5.562 kB / 1.341 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.9112, allocations: 10.09 kB / 1.341 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.9112, allocations: 9.406 kB / 1.341 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9112, allocations: 10.02 kB / 1.341 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000895/0.9121, allocations: 0.6838 MB / 1.341 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.9123, allocations: 143.4 kB / 1.342 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.9124, allocations: 16.98 kB / 1.342 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.9127, allocations: 22.88 kB / 1.342 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.9128, allocations: 34.47 kB / 1.342 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.9128, allocations: 16.47 kB / 1.342 GB, free: 13.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002079/0.913, allocations: 233.7 kB / 1.342 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.913, allocations: 1.312 kB / 1.342 GB, free: 13.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004118/0.9134, allocations: 108.6 kB / 1.342 GB, free: 13.18 MB / 1.029 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.001384/0.9148, allocations: 1.316 MB / 1.343 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.9154, allocations: 304.2 kB / 1.344 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9154, allocations: 1.188 kB / 1.344 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.9156, allocations: 172.1 kB / 1.344 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.9167, allocations: 224.8 kB / 1.344 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.921, allocations: 3.672 MB / 1.348 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.9214, allocations: 0.8229 MB / 1.348 GB, free: 8.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.9217, allocations: 103.9 kB / 1.348 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.9219, allocations: 125.3 kB / 1.349 GB, free: 8.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.2e-07/0.9219, allocations: 0 / 1.349 GB, free: 8.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.195/3.117, allocations: 11.19 MB / 1.359 GB, free: 5.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/18.19, allocations: 18.06 kB / 1.359 GB, free: 5.055 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches