Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005351/0.005351, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001195/0.001195, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7954, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2619/1.057, allocations: 221.1 MB / 1.304 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01016/1.068, allocations: 5.725 MB / 1.309 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/1.069, allocations: 43.75 kB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/1.072, allocations: 0.6059 MB / 1.31 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/1.077, allocations: 1.91 MB / 1.312 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/1.081, allocations: 1.199 MB / 1.313 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004859/1.086, allocations: 2.972 MB / 1.316 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/1.088, allocations: 1.019 MB / 1.317 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/1.09, allocations: 1.113 MB / 1.318 GB, free: 1.828 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/1.093, allocations: 0.9338 MB / 1.319 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003247/1.093, allocations: 108 kB / 1.319 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/1.097, allocations: 1.442 MB / 1.321 GB, free: 15.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006215/1.097, allocations: 462.8 kB / 1.321 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/1.099, allocations: 0.6573 MB / 1.322 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/1.103, allocations: 2.137 MB / 1.324 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.103, allocations: 3.938 kB / 1.324 GB, free: 12.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.103, allocations: 0 / 1.324 GB, free: 12.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.844e-05/1.103, allocations: 0 / 1.324 GB, free: 12.09 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003138/1.106, allocations: 1.537 MB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.106, allocations: 8.031 kB / 1.325 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/1.108, allocations: 322.9 kB / 1.325 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/1.11, allocations: 0.8715 MB / 1.326 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/1.11, allocations: 65.98 kB / 1.326 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/1.11, allocations: 87.95 kB / 1.326 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.112, allocations: 0.9131 MB / 1.327 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/1.112, allocations: 0 / 1.327 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.112, allocations: 36 kB / 1.327 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/1.112, allocations: 37.92 kB / 1.327 GB, free: 8.117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.114, allocations: 0.8354 MB / 1.328 GB, free: 7.281 MB / 1.061 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.006033/1.12, allocations: 3.518 MB / 1.332 GB, free: 3.547 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008056/1.12, allocations: 0.493 MB / 1.332 GB, free: 3.043 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/1.121, allocations: 295 kB / 1.332 GB, free: 2.754 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/1.121, allocations: 101.5 kB / 1.333 GB, free: 2.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.121, allocations: 46.94 kB / 1.333 GB, free: 2.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.354e-06/1.121, allocations: 0 / 1.333 GB, free: 2.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003838/1.125, allocations: 1.893 MB / 1.334 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.125, allocations: 55.84 kB / 1.335 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.126, allocations: 0.8058 MB / 1.335 GB, free: 15.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/1.126, allocations: 37.7 kB / 1.335 GB, free: 15.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.127, allocations: 492.2 kB / 1.336 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/1.127, allocations: 182.4 kB / 1.336 GB, free: 15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/1.127, allocations: 114.3 kB / 1.336 GB, free: 14.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.127, allocations: 334 kB / 1.336 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/1.127, allocations: 241.2 kB / 1.337 GB, free: 14.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/1.128, allocations: 388.7 kB / 1.337 GB, free: 13.88 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.132, allocations: 1.543 MB / 1.339 GB, free: 12.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.132, allocations: 0 / 1.339 GB, free: 12.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001345/1.133, allocations: 0.7966 MB / 1.339 GB, free: 11.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.133, allocations: 4 kB / 1.339 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.133, allocations: 4 kB / 1.339 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/1.133, allocations: 74.02 kB / 1.339 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/1.134, allocations: 155.8 kB / 1.34 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/1.136, allocations: 3.125 MB / 1.343 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/1.137, allocations: 31.83 kB / 1.343 GB, free: 7.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/1.137, allocations: 24 kB / 1.343 GB, free: 7.77 MB / 1.076 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004842/1.138, allocations: 305.5 kB / 1.343 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/1.138, allocations: 99.38 kB / 1.343 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/1.138, allocations: 104.8 kB / 1.343 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.138, allocations: 4 kB / 1.343 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.138, allocations: 0 / 1.343 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.139, allocations: 0.8388 MB / 1.344 GB, free: 6.328 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/1.142, allocations: 1.802 MB / 1.346 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.142, allocations: 0 / 1.346 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/1.143, allocations: 131.8 kB / 1.346 GB, free: 4.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-05/1.143, allocations: 41.23 kB / 1.346 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/1.143, allocations: 20 kB / 1.346 GB, free: 4.234 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.144, allocations: 1.59 MB / 1.347 GB, free: 2.508 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.144, allocations: 8.062 kB / 1.347 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/1.146, allocations: 1.07 MB / 1.348 GB, free: 1.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.146, allocations: 236.5 kB / 1.349 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.146, allocations: 12 kB / 1.349 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/1.147, allocations: 41.33 kB / 1.349 GB, free: 1.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/1.147, allocations: 39.89 kB / 1.349 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/1.147, allocations: 36.05 kB / 1.349 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000672/1.148, allocations: 0.5576 MB / 1.349 GB, free: 452 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.148, allocations: 0 / 1.349 GB, free: 452 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.000812/1.149, allocations: 276 kB / 1.35 GB, free: 176 kB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/1.149, allocations: 200.1 kB / 1.35 GB, free: 15.97 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001256/1.15, allocations: 0.8082 MB / 1.351 GB, free: 15.13 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.15, allocations: 8.25 kB / 1.351 GB, free: 15.12 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/1.151, allocations: 407.1 kB / 1.351 GB, free: 14.71 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.153, allocations: 0.6027 MB / 1.352 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/1.156, allocations: 1.806 MB / 1.353 GB, free: 12.25 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/1.157, allocations: 1.095 MB / 1.354 GB, free: 11.12 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008243/1.158, allocations: 219.7 kB / 1.355 GB, free: 10.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.158, allocations: 63.44 kB / 1.355 GB, free: 10.84 MB / 1.092 GB Notification: Performance of SimCode: time 1.894e-06/1.158, allocations: 4 kB / 1.355 GB, free: 10.84 MB / 1.092 GB Notification: Performance of Templates: time 0.0363/1.195, allocations: 20.2 MB / 1.374 GB, free: 6.949 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches