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 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: 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.001729/0.001729, allocations: 115.6 kB / 16.37 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.00199/0.00199, allocations: 192.1 kB / 17.31 MB, free: 5.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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.5 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7697/1.074, allocations: 221.1 MB / 1.243 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009606/1.084, allocations: 5.73 MB / 1.248 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/1.085, allocations: 39.75 kB / 1.248 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/1.087, allocations: 0.5786 MB / 1.249 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00456/1.092, allocations: 1.84 MB / 1.251 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/1.095, allocations: 1.196 MB / 1.252 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004132/1.099, allocations: 2.948 MB / 1.255 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/1.1, allocations: 1.023 MB / 1.256 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/1.102, allocations: 1.07 MB / 1.257 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/1.104, allocations: 0.9346 MB / 1.258 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/1.105, allocations: 108 kB / 1.258 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/1.108, allocations: 1.426 MB / 1.259 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/1.109, allocations: 466.8 kB / 1.26 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008221/1.11, allocations: 0.6573 MB / 1.26 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/1.113, allocations: 2.131 MB / 1.262 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.113, allocations: 0 / 1.262 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/1.113, allocations: 4 kB / 1.262 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.113, allocations: 3.938 kB / 1.262 GB, free: 12.06 MB / 0.9669 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.002698/1.116, allocations: 1.5 MB / 1.264 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.116, allocations: 8.031 kB / 1.264 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/1.118, allocations: 322.2 kB / 1.264 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/1.12, allocations: 0.8553 MB / 1.265 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/1.12, allocations: 66 kB / 1.265 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.12, allocations: 87.98 kB / 1.265 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.122, allocations: 0.9169 MB / 1.266 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.122, allocations: 3.906 kB / 1.266 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.122, allocations: 40 kB / 1.266 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/1.122, allocations: 34 kB / 1.266 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.123, allocations: 0.8353 MB / 1.267 GB, free: 7.301 MB / 0.9669 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.005875/1.129, allocations: 3.509 MB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/1.13, allocations: 0.4948 MB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/1.13, allocations: 295 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/1.131, allocations: 97.53 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.131, allocations: 50.94 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/1.131, allocations: 0 / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.003476/1.134, allocations: 1.876 MB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.134, allocations: 55.84 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009581/1.135, allocations: 0.8136 MB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/1.135, allocations: 37.7 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/1.136, allocations: 475.3 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.136, allocations: 177.5 kB / 1.275 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/1.136, allocations: 114.2 kB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.136, allocations: 334 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/1.136, allocations: 245.2 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/1.137, allocations: 380.6 kB / 1.276 GB, free: 13.95 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.141, allocations: 1.543 MB / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.141, allocations: 0 / 1.277 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001347/1.142, allocations: 0.7962 MB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.142, allocations: 8 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.142, allocations: 4 kB / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/1.142, allocations: 65.67 kB / 1.278 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/1.143, allocations: 152 kB / 1.278 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/1.145, allocations: 3.121 MB / 1.281 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/1.146, allocations: 32.2 kB / 1.281 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.146, allocations: 20 kB / 1.281 GB, free: 7.859 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: 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.0004384/1.147, allocations: 306.9 kB / 1.281 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.147, allocations: 90.97 kB / 1.282 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/1.147, allocations: 104.7 kB / 1.282 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.147, allocations: 7.938 kB / 1.282 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.147, allocations: 4 kB / 1.282 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001035/1.148, allocations: 0.8387 MB / 1.282 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/1.151, allocations: 1.796 MB / 1.284 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.151, allocations: 4 kB / 1.284 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.152, allocations: 127.8 kB / 1.284 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.169e-05/1.152, allocations: 40.83 kB / 1.284 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/1.152, allocations: 15.94 kB / 1.284 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/1.153, allocations: 1.594 MB / 1.286 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.153, allocations: 11.88 kB / 1.286 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/1.155, allocations: 1.065 MB / 1.287 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/1.155, allocations: 239.9 kB / 1.287 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.155, allocations: 20.06 kB / 1.287 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/1.156, allocations: 36.5 kB / 1.287 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.156, allocations: 39.89 kB / 1.287 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/1.156, allocations: 31.98 kB / 1.287 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006741/1.157, allocations: 0.5537 MB / 1.288 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.157, allocations: 4 kB / 1.288 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008056/1.157, allocations: 280 kB / 1.288 GB, free: 256 kB / 0.9825 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.0004151/1.158, allocations: 180.7 kB / 1.288 GB, free: 72 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.159, allocations: 0.8082 MB / 1.289 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.159, allocations: 4.812 kB / 1.289 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/1.16, allocations: 410.5 kB / 1.29 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.162, allocations: 0.597 MB / 1.29 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/1.165, allocations: 1.795 MB / 1.292 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/1.166, allocations: 1.088 MB / 1.293 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007157/1.166, allocations: 219.7 kB / 1.293 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.166, allocations: 67.44 kB / 1.293 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.166, allocations: 3.938 kB / 1.293 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of Templates: time 0.03211/1.199, allocations: 20.04 MB / 1.313 GB, free: 7.203 MB / 1.014 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 -s cvode -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) Reference file matches