Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001362/0.001362, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 482.3 MB / 0.7542 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 74.62 kB / 0.9232 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3663, allocations: 162.2 MB / 1.082 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.9877/1.354, allocations: 218.4 MB / 1.295 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01278/1.367, allocations: 5.699 MB / 1.3 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/1.37, allocations: 38.14 kB / 1.301 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/1.372, allocations: 0.5135 MB / 1.301 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/1.379, allocations: 1.526 MB / 1.303 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/1.384, allocations: 1.108 MB / 1.304 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006836/1.391, allocations: 2.57 MB / 1.306 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/1.393, allocations: 0.8839 MB / 1.307 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004721/1.398, allocations: 1.228 MB / 1.308 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004071/1.402, allocations: 0.8768 MB / 1.309 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004182/1.403, allocations: 96.72 kB / 1.309 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004887/1.408, allocations: 1.6 MB / 1.311 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007417/1.408, allocations: 411.5 kB / 1.311 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.41, allocations: 0.5862 MB / 1.312 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004819/1.415, allocations: 2.094 MB / 1.314 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.415, allocations: 1.062 kB / 1.314 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.375e-06/1.415, allocations: 1 kB / 1.314 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.446e-05/1.415, allocations: 0 / 1.314 GB, free: 6.176 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003749/1.418, allocations: 1.427 MB / 1.315 GB, free: 21.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/1.418, allocations: 10.25 kB / 1.315 GB, free: 21.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/1.422, allocations: 412.1 kB / 1.315 GB, free: 21.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/1.423, allocations: 0.7706 MB / 1.316 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/1.424, allocations: 114.1 kB / 1.316 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/1.424, allocations: 74.66 kB / 1.316 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.426, allocations: 0.9995 MB / 1.317 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.426, allocations: 1.062 kB / 1.317 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/1.427, allocations: 37.53 kB / 1.317 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/1.427, allocations: 27.41 kB / 1.317 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.429, allocations: 0.8867 MB / 1.318 GB, free: 20.93 MB / 1.014 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.006965/1.436, allocations: 3.654 MB / 1.322 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/1.437, allocations: 0.6165 MB / 1.323 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/1.438, allocations: 345.2 kB / 1.323 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/1.438, allocations: 103.7 kB / 1.323 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/1.438, allocations: 47.16 kB / 1.323 GB, free: 19.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/1.438, allocations: 0 / 1.323 GB, free: 19.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.006045/1.445, allocations: 1.924 MB / 1.325 GB, free: 18.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/1.445, allocations: 58.84 kB / 1.325 GB, free: 18.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.446, allocations: 0.783 MB / 1.326 GB, free: 18.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.446, allocations: 37.7 kB / 1.326 GB, free: 18.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/1.446, allocations: 444 kB / 1.326 GB, free: 18.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/1.446, allocations: 144.9 kB / 1.326 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/1.447, allocations: 107.7 kB / 1.326 GB, free: 18.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.447, allocations: 330.2 kB / 1.327 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/1.448, allocations: 315 kB / 1.327 GB, free: 17.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/1.449, allocations: 450.1 kB / 1.327 GB, free: 17.79 MB / 1.014 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.005664/1.454, allocations: 1.961 MB / 1.329 GB, free: 17.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.454, allocations: 1.125 kB / 1.329 GB, free: 17.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002208/1.457, allocations: 0.8554 MB / 1.33 GB, free: 17.37 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.457, allocations: 11.86 kB / 1.33 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.457, allocations: 6.906 kB / 1.33 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/1.457, allocations: 9.656 kB / 1.33 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/1.457, allocations: 168 kB / 1.33 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.458, allocations: 9.625 kB / 1.33 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.459, allocations: 88.2 kB / 1.33 GB, free: 17.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/1.459, allocations: 25.84 kB / 1.33 GB, free: 17.33 MB / 1.014 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006056/1.46, allocations: 282.5 kB / 1.331 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.46, allocations: 90.72 kB / 1.331 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/1.46, allocations: 96 kB / 1.331 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/1.46, allocations: 5.281 kB / 1.331 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.46, allocations: 0 / 1.331 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/1.461, allocations: 0.6926 MB / 1.332 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/1.466, allocations: 1.922 MB / 1.333 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.466, allocations: 2.844 kB / 1.333 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/1.466, allocations: 149.6 kB / 1.334 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.466, allocations: 9.375 kB / 1.334 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/1.467, allocations: 12.84 kB / 1.334 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.467, allocations: 8.938 kB / 1.334 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.467, allocations: 8.125 kB / 1.334 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.469, allocations: 1.243 MB / 1.335 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/1.47, allocations: 239 kB / 1.335 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.47, allocations: 14.78 kB / 1.335 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/1.471, allocations: 88.42 kB / 1.335 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/1.471, allocations: 35.45 kB / 1.335 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/1.471, allocations: 29.59 kB / 1.335 GB, free: 15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008109/1.472, allocations: 0.54 MB / 1.336 GB, free: 14.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.472, allocations: 2.219 kB / 1.336 GB, free: 14.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001013/1.473, allocations: 242.1 kB / 1.336 GB, free: 14.76 MB / 1.014 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005632/1.473, allocations: 215.1 kB / 1.336 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0019/1.475, allocations: 0.738 MB / 1.337 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.475, allocations: 7.281 kB / 1.337 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/1.476, allocations: 333.5 kB / 1.337 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.479, allocations: 0.5217 MB / 1.338 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/1.483, allocations: 2.226 MB / 1.34 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/1.484, allocations: 1.042 MB / 1.341 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00117/1.485, allocations: 219.5 kB / 1.341 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/1.486, allocations: 76.45 kB / 1.341 GB, free: 12.11 MB / 1.014 GB Notification: Performance of SimCode: time 7.72e-07/1.486, allocations: 0 / 1.341 GB, free: 12.11 MB / 1.014 GB Notification: Performance of Templates: time 0.03365/1.519, allocations: 18.46 MB / 1.359 GB, free: 6.551 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches