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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00129/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001375/0.001375, allocations: 193.6 kB / 16.14 MB, free: 6.699 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 65.05 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3066, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1642/0.4708, allocations: 157.9 MB / 1.206 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005796/0.4766, allocations: 3.829 MB / 1.21 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.4772, allocations: 11.88 kB / 1.21 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.4781, allocations: 159.1 kB / 1.21 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.4804, allocations: 0.7898 MB / 1.211 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.4815, allocations: 393.4 kB / 1.211 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.4833, allocations: 1.393 MB / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.4838, allocations: 248.9 kB / 1.213 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008139/0.4846, allocations: 362.4 kB / 1.213 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009894/0.4856, allocations: 330.7 kB / 1.214 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.4857, allocations: 16 kB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.4872, allocations: 0.8455 MB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.4875, allocations: 151.6 kB / 1.215 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.4878, allocations: 202.9 kB / 1.215 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.4893, allocations: 0.7828 MB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4893, allocations: 4 kB / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of FrontEnd: time 7.91e-07/0.4893, allocations: 0 / 1.216 GB, free: 288 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.4894, allocations: 4 kB / 1.216 GB, free: 284 kB / 0.9669 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.001523/0.4909, allocations: 0.7324 MB / 1.216 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.491, allocations: 15.97 kB / 1.216 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4911, allocations: 62.53 kB / 1.216 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.4923, allocations: 151.3 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.493, allocations: 382.5 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.493, allocations: 20.66 kB / 1.217 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.4931, allocations: 35.94 kB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.4937, allocations: 326 kB / 1.217 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4937, allocations: 4 kB / 1.217 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.4937, allocations: 12 kB / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4937, allocations: 8 kB / 1.217 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005652/0.4943, allocations: 306.4 kB / 1.218 GB, free: 14.14 MB / 0.9825 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.001763/0.4961, allocations: 1.209 MB / 1.219 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.4967, allocations: 287.4 kB / 1.219 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.4971, allocations: 193.2 kB / 1.219 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.4973, allocations: 182.5 kB / 1.219 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4974, allocations: 38.84 kB / 1.219 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/0.4974, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.00208/0.4995, allocations: 1.035 MB / 1.22 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.4996, allocations: 59.41 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.5, allocations: 316.5 kB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5, allocations: 33.7 kB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5001, allocations: 180.8 kB / 1.221 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5003, allocations: 122.1 kB / 1.221 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5004, allocations: 61.7 kB / 1.221 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5006, allocations: 346.8 kB / 1.222 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.5009, allocations: 115.7 kB / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5012, allocations: 166.4 kB / 1.222 GB, free: 9.562 MB / 0.9825 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.001769/0.5029, allocations: 0.7616 MB / 1.223 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5029, allocations: 4 kB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006919/0.5036, allocations: 352.8 kB / 1.223 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5037, allocations: 5.406 kB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5037, allocations: 4 kB / 1.223 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5037, allocations: 3.938 kB / 1.223 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.504, allocations: 71.89 kB / 1.223 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.504, allocations: 0 / 1.223 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.5044, allocations: 24.77 kB / 1.223 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.5044, allocations: 15.98 kB / 1.223 GB, free: 8.305 MB / 0.9825 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.0002514/0.5047, allocations: 173.8 kB / 1.223 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.5048, allocations: 39.53 kB / 1.223 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.5049, allocations: 56 kB / 1.223 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5049, allocations: 4 kB / 1.223 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5049, allocations: 7.984 kB / 1.223 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005594/0.5055, allocations: 416.3 kB / 1.224 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.5072, allocations: 1.063 MB / 1.225 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5073, allocations: 4 kB / 1.225 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.5077, allocations: 79.89 kB / 1.225 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.5077, allocations: 4 kB / 1.225 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5078, allocations: 12 kB / 1.225 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.5078, allocations: 15.86 kB / 1.225 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5078, allocations: 4 kB / 1.225 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.5088, allocations: 0.6757 MB / 1.225 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.5089, allocations: 140.7 kB / 1.226 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.509, allocations: 23.94 kB / 1.226 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.5094, allocations: 31.83 kB / 1.226 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.5095, allocations: 35.83 kB / 1.226 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.5095, allocations: 16 kB / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000262/0.5098, allocations: 235 kB / 1.226 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5098, allocations: 0 / 1.226 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000498/0.5103, allocations: 104 kB / 1.226 GB, free: 4.969 MB / 0.9825 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.001588/0.5119, allocations: 1.292 MB / 1.227 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006012/0.5125, allocations: 292.8 kB / 1.228 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5125, allocations: 4.062 kB / 1.228 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.5128, allocations: 159.7 kB / 1.228 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.514, allocations: 229 kB / 1.228 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.5191, allocations: 3.813 MB / 1.232 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.5195, allocations: 0.8274 MB / 1.232 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003821/0.5199, allocations: 103.2 kB / 1.233 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.5201, allocations: 115.4 kB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.5201, allocations: 0 / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.544, allocations: 10.61 MB / 1.243 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.5443, allocations: 270.7 kB / 1.243 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.581, allocations: 0 / 1.243 GB, free: 3.188 MB / 0.9981 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=50 --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