Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.001027/0.001027, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005877/0.005877, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.603/2.603, allocations: 462.6 MB / 0.7364 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 14.34 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2133/0.52, allocations: 194 MB / 1.248 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6473/1.167, allocations: 10.3 MB / 1.258 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/1.17, allocations: 50.97 kB / 1.258 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/1.172, allocations: 475 kB / 1.259 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/1.178, allocations: 1.843 MB / 1.261 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/1.182, allocations: 1.238 MB / 1.262 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005018/1.187, allocations: 3.664 MB / 1.265 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/1.189, allocations: 0.9971 MB / 1.266 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/1.194, allocations: 1.465 MB / 1.268 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/1.196, allocations: 0.9264 MB / 1.269 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003203/1.197, allocations: 45.38 kB / 1.269 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/1.203, allocations: 2.373 MB / 1.271 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000671/1.203, allocations: 346.2 kB / 1.271 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/1.205, allocations: 0.6415 MB / 1.272 GB, free: 18.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004639/1.209, allocations: 2.488 MB / 1.274 GB, free: 17.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.209, allocations: 0.5312 kB / 1.274 GB, free: 17.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/1.209, allocations: 4 kB / 1.274 GB, free: 17.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.338e-05/1.209, allocations: 0.5 kB / 1.274 GB, free: 17.93 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002928/1.212, allocations: 1.577 MB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.212, allocations: 13.47 kB / 1.276 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/1.213, allocations: 155.6 kB / 1.276 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/1.215, allocations: 366.9 kB / 1.276 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/1.217, allocations: 0.9189 MB / 1.277 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.456e-05/1.217, allocations: 81.53 kB / 1.277 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.217, allocations: 101.2 kB / 1.278 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.219, allocations: 1.103 MB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.219, allocations: 4.062 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/1.219, allocations: 45.84 kB / 1.279 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/1.219, allocations: 35.5 kB / 1.279 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.22, allocations: 0.8124 MB / 1.279 GB, free: 16.3 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.005502/1.226, allocations: 5.08 MB / 1.284 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.227, allocations: 0.6963 MB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/1.227, allocations: 352.8 kB / 1.285 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/1.228, allocations: 326.6 kB / 1.286 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.228, allocations: 47.11 kB / 1.286 GB, free: 13.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.228, allocations: 4 kB / 1.286 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.0018/1.23, allocations: 0.9407 MB / 1.287 GB, free: 12.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.23, allocations: 62.97 kB / 1.287 GB, free: 12.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/1.231, allocations: 0.877 MB / 1.288 GB, free: 12.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/1.231, allocations: 43.64 kB / 1.288 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/1.231, allocations: 0.5594 MB / 1.288 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/1.231, allocations: 241.5 kB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/1.232, allocations: 70.06 kB / 1.289 GB, free: 12.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.232, allocations: 334.3 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/1.232, allocations: 246.7 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/1.233, allocations: 454.6 kB / 1.29 GB, free: 11.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.234, allocations: 0.7041 MB / 1.29 GB, free: 11.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.234, allocations: 1.969 kB / 1.29 GB, free: 11.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001372/1.235, allocations: 0.8409 MB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/1.235, allocations: 230.7 kB / 1.291 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.235, allocations: 6.094 kB / 1.291 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.235, allocations: 10.42 kB / 1.291 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.237, allocations: 251 kB / 1.291 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/1.238, allocations: 1.403 MB / 1.293 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/1.239, allocations: 118.9 kB / 1.293 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/1.239, allocations: 36.64 kB / 1.293 GB, free: 9.812 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/1.239, allocations: 3.281 kB / 1.293 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/1.24, allocations: 0.7226 MB / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.24, allocations: 5.781 kB / 1.294 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/1.24, allocations: 15.12 kB / 1.294 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.242, allocations: 248 kB / 1.294 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/1.243, allocations: 1.388 MB / 1.295 GB, free: 8.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/1.244, allocations: 110.8 kB / 1.295 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/1.244, allocations: 38.64 kB / 1.295 GB, free: 8.387 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006135/1.245, allocations: 372 kB / 1.296 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.245, allocations: 108.4 kB / 1.296 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.246, allocations: 0.7912 MB / 1.297 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.246, allocations: 8.156 kB / 1.297 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/1.246, allocations: 0 / 1.297 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/1.248, allocations: 0.7158 MB / 1.297 GB, free: 7.871 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/1.251, allocations: 1.932 MB / 1.299 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.251, allocations: 1.156 kB / 1.299 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/1.251, allocations: 139.5 kB / 1.299 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/1.252, allocations: 51.47 kB / 1.299 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.176e-05/1.252, allocations: 24.8 kB / 1.3 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/1.253, allocations: 1.346 MB / 1.301 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.253, allocations: 3.844 kB / 1.301 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/1.255, allocations: 1.224 MB / 1.302 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/1.256, allocations: 256.5 kB / 1.302 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.256, allocations: 20.09 kB / 1.302 GB, free: 5.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/1.257, allocations: 60.66 kB / 1.302 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/1.257, allocations: 48.45 kB / 1.302 GB, free: 5.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.257, allocations: 23.11 kB / 1.302 GB, free: 5.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008005/1.258, allocations: 0.5962 MB / 1.303 GB, free: 5.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.258, allocations: 0 / 1.303 GB, free: 5.594 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001587/1.259, allocations: 0.5356 MB / 1.304 GB, free: 5.508 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002709/1.262, allocations: 1.897 MB / 1.305 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003448/1.266, allocations: 1.186 MB / 1.307 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.266, allocations: 3.812 kB / 1.307 GB, free: 4.637 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/1.266, allocations: 448.8 kB / 1.307 GB, free: 4.523 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.269, allocations: 0.5007 MB / 1.307 GB, free: 4.488 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.282, allocations: 9.007 MB / 1.316 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/1.283, allocations: 1.142 MB / 1.317 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001299/1.284, allocations: 284.9 kB / 1.318 GB, free: 15.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/1.284, allocations: 457.5 kB / 1.318 GB, free: 15.71 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/1.284, allocations: 1.75 kB / 1.318 GB, free: 15.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/1.332, allocations: 25.99 MB / 1.343 GB, free: 8.098 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/1.332, allocations: 291.8 kB / 1.344 GB, free: 7.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.87, allocations: 3.938 kB / 1.344 GB, free: 7.711 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches