Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001748/0.001748, allocations: 102.2 kB / 16.27 MB, free: 6 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.002071/0.002071, allocations: 191 kB / 17.2 MB, free: 5.609 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.88 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3308, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8338/1.165, allocations: 221.1 MB / 1.234 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.175, allocations: 5.738 MB / 1.239 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.177, allocations: 39.75 kB / 1.239 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/1.179, allocations: 0.5825 MB / 1.24 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/1.186, allocations: 1.843 MB / 1.242 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/1.189, allocations: 1.185 MB / 1.243 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00462/1.194, allocations: 2.941 MB / 1.246 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/1.196, allocations: 1.025 MB / 1.247 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/1.199, allocations: 1.058 MB / 1.248 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/1.202, allocations: 0.9459 MB / 1.249 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005462/1.203, allocations: 112 kB / 1.249 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/1.207, allocations: 1.423 MB / 1.25 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/1.208, allocations: 470.8 kB / 1.251 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/1.209, allocations: 0.6534 MB / 1.251 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/1.213, allocations: 2.115 MB / 1.253 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.213, allocations: 0 / 1.253 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.465e-06/1.213, allocations: 0 / 1.253 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.234e-05/1.214, allocations: 0 / 1.253 GB, free: 8.16 MB / 0.9512 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.003592/1.217, allocations: 1.496 MB / 1.255 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/1.217, allocations: 20.84 kB / 1.255 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/1.219, allocations: 318.2 kB / 1.255 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.221, allocations: 0.8124 MB / 1.256 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/1.221, allocations: 62 kB / 1.256 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.221, allocations: 88 kB / 1.256 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.223, allocations: 0.9247 MB / 1.257 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.223, allocations: 3.938 kB / 1.257 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/1.223, allocations: 36 kB / 1.257 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/1.224, allocations: 33.98 kB / 1.257 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.225, allocations: 0.8392 MB / 1.258 GB, free: 3.434 MB / 0.9512 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.006802/1.232, allocations: 3.54 MB / 1.261 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/1.233, allocations: 493.1 kB / 1.262 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/1.234, allocations: 295 kB / 1.262 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/1.234, allocations: 113.5 kB / 1.262 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.234, allocations: 46.94 kB / 1.262 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 3.326e-06/1.234, allocations: 0 / 1.262 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.004339/1.238, allocations: 1.88 MB / 1.264 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.238, allocations: 59.84 kB / 1.264 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.239, allocations: 0.8019 MB / 1.265 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/1.24, allocations: 37.7 kB / 1.265 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/1.24, allocations: 479.3 kB / 1.266 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.24, allocations: 169.5 kB / 1.266 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.24, allocations: 122.2 kB / 1.266 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.241, allocations: 322 kB / 1.266 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/1.241, allocations: 249.2 kB / 1.266 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/1.242, allocations: 388.6 kB / 1.267 GB, free: 10.05 MB / 0.9669 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.00402/1.246, allocations: 1.561 MB / 1.268 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.246, allocations: 0 / 1.268 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001598/1.247, allocations: 0.7926 MB / 1.269 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.247, allocations: 7.984 kB / 1.269 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.247, allocations: 4 kB / 1.269 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/1.248, allocations: 61.69 kB / 1.269 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/1.248, allocations: 147.8 kB / 1.269 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/1.251, allocations: 3.134 MB / 1.272 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/1.252, allocations: 29.39 kB / 1.272 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/1.252, allocations: 31.98 kB / 1.272 GB, free: 3.938 MB / 0.9669 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.0005759/1.253, allocations: 301.5 kB / 1.273 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/1.253, allocations: 90.95 kB / 1.273 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/1.253, allocations: 96.73 kB / 1.273 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.253, allocations: 12.06 kB / 1.273 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.253, allocations: 3.984 kB / 1.273 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.255, allocations: 0.8387 MB / 1.274 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/1.258, allocations: 1.799 MB / 1.275 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.258, allocations: 4 kB / 1.275 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/1.259, allocations: 127.9 kB / 1.276 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/1.259, allocations: 40.86 kB / 1.276 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/1.259, allocations: 16.28 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/1.26, allocations: 1.59 MB / 1.277 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.26, allocations: 11.88 kB / 1.277 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/1.262, allocations: 1.064 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/1.263, allocations: 236 kB / 1.278 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/1.263, allocations: 11.98 kB / 1.278 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/1.264, allocations: 34.97 kB / 1.278 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.264, allocations: 39.95 kB / 1.279 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/1.264, allocations: 31.98 kB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008438/1.265, allocations: 0.5654 MB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.743e-06/1.265, allocations: 0 / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001036/1.266, allocations: 275.9 kB / 1.279 GB, free: 12.36 MB / 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.0006279/1.267, allocations: 196.3 kB / 1.28 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.268, allocations: 0.8708 MB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.268, allocations: 4 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006024/1.269, allocations: 406.3 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.272, allocations: 0.6034 MB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/1.276, allocations: 1.876 MB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.277, allocations: 1.088 MB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.277, allocations: 71.44 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of SimCode: time 1.192e-06/1.277, allocations: 0 / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of Templates: time 0.03472/1.312, allocations: 21.93 MB / 1.306 GB, free: 1.328 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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]