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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004139/0.00414, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001169/0.001169, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 71.8 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 162.3 MB / 1.242 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.694/0.9764, allocations: 160.2 MB / 1.398 GB, free: 14.02 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.9811, allocations: 3.801 MB / 1.402 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.9814, allocations: 21.22 kB / 1.402 GB, free: 10.93 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.9819, allocations: 188.4 kB / 1.402 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.9835, allocations: 0.8361 MB / 1.403 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.9843, allocations: 423.3 kB / 1.403 GB, free: 9.832 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.9854, allocations: 1.02 MB / 1.404 GB, free: 9.246 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.9858, allocations: 286.6 kB / 1.405 GB, free: 9.066 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.9867, allocations: 0.5753 MB / 1.405 GB, free: 8.715 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.9875, allocations: 311.6 kB / 1.406 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.9876, allocations: 30.84 kB / 1.406 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.9887, allocations: 0.7031 MB / 1.406 GB, free: 8.156 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.9889, allocations: 161.9 kB / 1.406 GB, free: 8.051 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.9891, allocations: 216.7 kB / 1.407 GB, free: 7.914 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.9901, allocations: 0.7508 MB / 1.407 GB, free: 7.445 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.9901, allocations: 4 kB / 1.407 GB, free: 7.441 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9901, allocations: 1.344 kB / 1.407 GB, free: 7.441 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.9901, allocations: 0 / 1.407 GB, free: 7.441 MB / 1.107 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.001044/0.9911, allocations: 0.7577 MB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.9912, allocations: 9.656 kB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.138e-05/0.9913, allocations: 65.67 kB / 1.408 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.9922, allocations: 151.8 kB / 1.408 GB, free: 6.656 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.9928, allocations: 405.5 kB / 1.409 GB, free: 6.309 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.9928, allocations: 22.06 kB / 1.409 GB, free: 6.297 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.9929, allocations: 33.88 kB / 1.409 GB, free: 6.285 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.9934, allocations: 322.6 kB / 1.409 GB, free: 6.102 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.9934, allocations: 0 / 1.409 GB, free: 6.102 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.9935, allocations: 18.09 kB / 1.409 GB, free: 6.086 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.9935, allocations: 8 kB / 1.409 GB, free: 6.086 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.994, allocations: 311.4 kB / 1.409 GB, free: 5.945 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.9956, allocations: 1.2 MB / 1.411 GB, free: 4.922 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.9961, allocations: 291.6 kB / 1.411 GB, free: 4.766 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.9964, allocations: 186.9 kB / 1.411 GB, free: 4.676 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.9966, allocations: 187.2 kB / 1.411 GB, free: 4.48 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.9967, allocations: 37.19 kB / 1.411 GB, free: 4.438 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.392e-06/0.9967, allocations: 0 / 1.411 GB, free: 4.438 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.00198/0.9987, allocations: 1.041 MB / 1.412 GB, free: 3.773 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.9987, allocations: 59.38 kB / 1.412 GB, free: 3.707 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.999, allocations: 313 kB / 1.413 GB, free: 3.504 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.9991, allocations: 32.33 kB / 1.413 GB, free: 3.469 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.9992, allocations: 186 kB / 1.413 GB, free: 3.301 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.9993, allocations: 125.8 kB / 1.413 GB, free: 3.191 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.9994, allocations: 62.69 kB / 1.413 GB, free: 3.148 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9996, allocations: 348 kB / 1.413 GB, free: 2.809 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.9998, allocations: 109.3 kB / 1.413 GB, free: 2.762 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/1, allocations: 170.2 kB / 1.414 GB, free: 2.664 MB / 1.107 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.001714/1.002, allocations: 0.7613 MB / 1.414 GB, free: 2.234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.002, allocations: 5.031 kB / 1.414 GB, free: 2.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005603/1.002, allocations: 351.5 kB / 1.415 GB, free: 2.055 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.002, allocations: 5.562 kB / 1.415 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.002, allocations: 5.094 kB / 1.415 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.002, allocations: 5.125 kB / 1.415 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/1.003, allocations: 68.09 kB / 1.415 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.003, allocations: 1.062 kB / 1.415 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/1.003, allocations: 18.95 kB / 1.415 GB, free: 2.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/1.003, allocations: 13.31 kB / 1.415 GB, free: 2.016 MB / 1.107 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.0001782/1.003, allocations: 173.3 kB / 1.415 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/1.003, allocations: 42.58 kB / 1.415 GB, free: 1.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.003, allocations: 49.88 kB / 1.415 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/1.003, allocations: 11.2 kB / 1.415 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.003, allocations: 0 / 1.415 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005523/1.004, allocations: 413.8 kB / 1.415 GB, free: 1.504 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.006, allocations: 1.063 MB / 1.416 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.006, allocations: 4.281 kB / 1.416 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/1.006, allocations: 83.3 kB / 1.417 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.006, allocations: 5.5 kB / 1.417 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/1.006, allocations: 10.88 kB / 1.417 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.006, allocations: 17.36 kB / 1.417 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.006, allocations: 4.125 kB / 1.417 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/1.007, allocations: 0.6883 MB / 1.417 GB, free: 144 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.007, allocations: 143 kB / 1.417 GB, free: 8 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/1.007, allocations: 22.8 kB / 1.417 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/1.007, allocations: 15.48 kB / 1.417 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/1.008, allocations: 33.62 kB / 1.417 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/1.008, allocations: 24.25 kB / 1.417 GB, free: 15.96 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002162/1.008, allocations: 229.1 kB / 1.418 GB, free: 15.81 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.008, allocations: 0 / 1.418 GB, free: 15.81 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004019/1.008, allocations: 113.2 kB / 1.418 GB, free: 15.8 MB / 1.123 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/1.01, allocations: 1.309 MB / 1.419 GB, free: 14.72 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005443/1.01, allocations: 317.7 kB / 1.419 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.01, allocations: 1 kB / 1.419 GB, free: 14.58 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/1.01, allocations: 166.4 kB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.012, allocations: 222 kB / 1.42 GB, free: 14.4 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/1.016, allocations: 3.677 MB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/1.016, allocations: 0.8241 MB / 1.424 GB, free: 10.99 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002722/1.016, allocations: 99.58 kB / 1.424 GB, free: 10.95 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/1.017, allocations: 130 kB / 1.424 GB, free: 10.85 MB / 1.123 GB Notification: Performance of SimCode: time 2.71e-07/1.017, allocations: 0 / 1.424 GB, free: 10.85 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3514/1.368, allocations: 11.19 MB / 1.435 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.3, allocations: 14.94 kB / 1.435 GB, free: 0.6836 MB / 1.123 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) 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) Reference file matches