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.00127/0.00127, allocations: 103.7 kB / 15.99 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.001265/0.001265, allocations: 194.2 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 13.7 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.323/2.323, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.33 kB / 0.8127 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8371/1.127, allocations: 218.3 MB / 1.163 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00935/1.136, allocations: 5.685 MB / 1.169 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.138, allocations: 37.69 kB / 1.169 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.14, allocations: 0.5124 MB / 1.169 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/1.145, allocations: 1.739 MB / 1.171 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/1.148, allocations: 1.102 MB / 1.172 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004313/1.152, allocations: 2.945 MB / 1.175 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/1.154, allocations: 1.002 MB / 1.176 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/1.156, allocations: 1.073 MB / 1.177 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/1.159, allocations: 0.9995 MB / 1.178 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/1.159, allocations: 112.8 kB / 1.178 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/1.162, allocations: 1.498 MB / 1.179 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005025/1.163, allocations: 470.2 kB / 1.18 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008541/1.164, allocations: 0.6492 MB / 1.18 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/1.166, allocations: 1.614 MB / 1.182 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.166, allocations: 0 / 1.182 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.713e-06/1.166, allocations: 1.375 kB / 1.182 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.166, allocations: 0 / 1.182 GB, free: 12.02 MB / 0.8731 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.002574/1.169, allocations: 1.51 MB / 1.183 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.169, allocations: 8.469 kB / 1.183 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/1.171, allocations: 319.4 kB / 1.184 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/1.172, allocations: 0.8227 MB / 1.185 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/1.172, allocations: 67.16 kB / 1.185 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.172, allocations: 82.84 kB / 1.185 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.174, allocations: 0.9192 MB / 1.186 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.174, allocations: 2.375 kB / 1.186 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/1.174, allocations: 40.41 kB / 1.186 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/1.174, allocations: 34.09 kB / 1.186 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.175, allocations: 0.8365 MB / 1.186 GB, free: 9.762 MB / 0.8731 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.005462/1.181, allocations: 3.533 MB / 1.19 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/1.182, allocations: 496.8 kB / 1.19 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/1.182, allocations: 297.7 kB / 1.191 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/1.182, allocations: 104.3 kB / 1.191 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/1.182, allocations: 43.69 kB / 1.191 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.316e-06/1.182, allocations: 0 / 1.191 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.003636/1.186, allocations: 1.879 MB / 1.193 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/1.186, allocations: 56.56 kB / 1.193 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/1.187, allocations: 0.8092 MB / 1.193 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/1.187, allocations: 36.77 kB / 1.194 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/1.187, allocations: 481.3 kB / 1.194 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.188, allocations: 179.8 kB / 1.194 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.188, allocations: 116.4 kB / 1.194 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.188, allocations: 328.5 kB / 1.195 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/1.188, allocations: 242.1 kB / 1.195 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/1.189, allocations: 386 kB / 1.195 GB, free: 3.898 MB / 0.8731 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.003497/1.192, allocations: 1.535 MB / 1.197 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.192, allocations: 0 / 1.197 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001333/1.194, allocations: 0.7961 MB / 1.197 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.194, allocations: 8.25 kB / 1.197 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.194, allocations: 2.094 kB / 1.197 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/1.194, allocations: 74.55 kB / 1.198 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/1.195, allocations: 146.2 kB / 1.198 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/1.197, allocations: 3.124 MB / 1.201 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.198, allocations: 66.11 kB / 1.201 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/1.198, allocations: 22.75 kB / 1.201 GB, free: 15.39 MB / 0.8887 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.0005702/1.199, allocations: 313 kB / 1.201 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/1.199, allocations: 92.88 kB / 1.201 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/1.199, allocations: 101.4 kB / 1.201 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.199, allocations: 9.266 kB / 1.201 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.199, allocations: 0 / 1.201 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/1.2, allocations: 0.8346 MB / 1.202 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/1.204, allocations: 1.793 MB / 1.204 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.204, allocations: 5.281 kB / 1.204 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/1.204, allocations: 127.9 kB / 1.204 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.791e-05/1.204, allocations: 38.67 kB / 1.204 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/1.204, allocations: 23.88 kB / 1.204 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.206, allocations: 1.585 MB / 1.206 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.206, allocations: 8.344 kB / 1.206 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.207, allocations: 1.074 MB / 1.207 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/1.208, allocations: 233 kB / 1.207 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.208, allocations: 11.97 kB / 1.207 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/1.209, allocations: 71.36 kB / 1.207 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.209, allocations: 46.02 kB / 1.207 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/1.209, allocations: 31.2 kB / 1.207 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007476/1.21, allocations: 0.5611 MB / 1.208 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.21, allocations: 0 / 1.208 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001098/1.211, allocations: 275.7 kB / 1.208 GB, free: 10.18 MB / 0.8887 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.0005274/1.212, allocations: 201.4 kB / 1.208 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.213, allocations: 0.8671 MB / 1.209 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.213, allocations: 2.875 kB / 1.209 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/1.214, allocations: 411.8 kB / 1.209 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.217, allocations: 0.5982 MB / 1.21 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/1.22, allocations: 2.232 MB / 1.212 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.221, allocations: 1.083 MB / 1.213 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.221, allocations: 74.58 kB / 1.213 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/1.221, allocations: 0 / 1.213 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of Templates: time 0.03169/1.253, allocations: 21.94 MB / 1.235 GB, free: 6.191 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]