Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: 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_latest_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_latest_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.001567/0.001567, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.00155/0.00155, allocations: 196.7 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.2 MB / 0.7548 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 68.36 kB / 0.9238 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7706, allocations: 162.2 MB / 1.082 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2651/1.036, allocations: 218.4 MB / 1.295 GB, free: 4.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0102/1.046, allocations: 5.69 MB / 1.301 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/1.048, allocations: 43.75 kB / 1.301 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/1.049, allocations: 0.5091 MB / 1.302 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/1.054, allocations: 1.746 MB / 1.303 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/1.057, allocations: 1.086 MB / 1.304 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004175/1.061, allocations: 2.959 MB / 1.307 GB, free: 8.141 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/1.063, allocations: 1.003 MB / 1.308 GB, free: 7.117 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/1.065, allocations: 1.269 MB / 1.309 GB, free: 5.844 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/1.068, allocations: 0.9867 MB / 1.31 GB, free: 4.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/1.068, allocations: 116 kB / 1.311 GB, free: 4.754 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/1.072, allocations: 1.492 MB / 1.312 GB, free: 3.258 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005626/1.072, allocations: 462.8 kB / 1.312 GB, free: 2.805 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009522/1.073, allocations: 0.6534 MB / 1.313 GB, free: 2.148 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/1.076, allocations: 1.61 MB / 1.315 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.076, allocations: 4 kB / 1.315 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.424e-06/1.076, allocations: 0 / 1.315 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.523e-05/1.076, allocations: 3.984 kB / 1.315 GB, free: 0.5273 MB / 1.029 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.002703/1.078, allocations: 1.511 MB / 1.316 GB, free: 14.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.078, allocations: 11.97 kB / 1.316 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.08, allocations: 322.3 kB / 1.316 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/1.082, allocations: 0.8123 MB / 1.317 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/1.082, allocations: 62 kB / 1.317 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.082, allocations: 88 kB / 1.317 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.084, allocations: 0.9209 MB / 1.318 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.084, allocations: 3.938 kB / 1.318 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/1.084, allocations: 40 kB / 1.318 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/1.084, allocations: 37.92 kB / 1.318 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.086, allocations: 0.8315 MB / 1.319 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005813/1.092, allocations: 3.675 MB / 1.323 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/1.092, allocations: 0.4938 MB / 1.323 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/1.093, allocations: 298.8 kB / 1.324 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/1.093, allocations: 97.53 kB / 1.324 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.093, allocations: 50.94 kB / 1.324 GB, free: 6.891 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.746e-06/1.093, allocations: 0 / 1.324 GB, free: 6.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.003905/1.097, allocations: 1.872 MB / 1.325 GB, free: 4.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.097, allocations: 55.84 kB / 1.326 GB, free: 4.852 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.098, allocations: 0.8058 MB / 1.326 GB, free: 4.035 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/1.098, allocations: 45.69 kB / 1.326 GB, free: 3.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/1.099, allocations: 475.3 kB / 1.327 GB, free: 3.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/1.099, allocations: 173.5 kB / 1.327 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.099, allocations: 118.1 kB / 1.327 GB, free: 3.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.099, allocations: 334 kB / 1.327 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/1.1, allocations: 237.2 kB / 1.328 GB, free: 2.652 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/1.1, allocations: 392.6 kB / 1.328 GB, free: 2.219 MB / 1.045 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.003796/1.104, allocations: 1.544 MB / 1.33 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.104, allocations: 0 / 1.33 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001451/1.105, allocations: 0.7923 MB / 1.33 GB, free: 15.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.106, allocations: 4 kB / 1.33 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.106, allocations: 4 kB / 1.33 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/1.106, allocations: 70.09 kB / 1.33 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/1.106, allocations: 151.8 kB / 1.331 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/1.109, allocations: 3.129 MB / 1.334 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.11, allocations: 59.89 kB / 1.334 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.11, allocations: 20 kB / 1.334 GB, free: 12.1 MB / 1.061 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.0005319/1.111, allocations: 305.6 kB / 1.334 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/1.111, allocations: 94.97 kB / 1.334 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/1.111, allocations: 100.7 kB / 1.334 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.111, allocations: 4 kB / 1.334 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.111, allocations: 0 / 1.334 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/1.112, allocations: 0.8387 MB / 1.335 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/1.115, allocations: 1.791 MB / 1.337 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.115, allocations: 4 kB / 1.337 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/1.116, allocations: 132.2 kB / 1.337 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/1.116, allocations: 40.83 kB / 1.337 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/1.116, allocations: 16 kB / 1.337 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.118, allocations: 1.599 MB / 1.338 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.118, allocations: 7.938 kB / 1.338 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.119, allocations: 1.072 MB / 1.339 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/1.12, allocations: 235.9 kB / 1.34 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.12, allocations: 16 kB / 1.34 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/1.121, allocations: 61.92 kB / 1.34 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.121, allocations: 55.88 kB / 1.34 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/1.121, allocations: 27.98 kB / 1.34 GB, free: 5.301 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008056/1.122, allocations: 0.5576 MB / 1.34 GB, free: 4.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.064e-06/1.122, allocations: 0 / 1.34 GB, free: 4.746 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000911/1.123, allocations: 283.9 kB / 1.341 GB, free: 4.469 MB / 1.061 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.0004896/1.123, allocations: 204.8 kB / 1.341 GB, free: 4.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.125, allocations: 0.8744 MB / 1.342 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.125, allocations: 0 / 1.342 GB, free: 3.371 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/1.125, allocations: 407.6 kB / 1.342 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.128, allocations: 0.6031 MB / 1.343 GB, free: 2.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.131, allocations: 2.228 MB / 1.345 GB, free: 72 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/1.132, allocations: 1.087 MB / 1.346 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.132, allocations: 75.42 kB / 1.346 GB, free: 14.88 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/1.132, allocations: 0 / 1.346 GB, free: 14.88 MB / 1.076 GB Notification: Performance of Templates: time 0.03162/1.164, allocations: 21.92 MB / 1.367 GB, free: 9.062 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]