Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001807/0.001807, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.52 kB / 0.8984 GB, free: 37.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3851, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1851/0.5704, allocations: 168.6 MB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006149/0.5765, allocations: 3.423 MB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.5775, allocations: 23.88 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.5788, allocations: 270.6 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.5816, allocations: 0.9571 MB / 1.221 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.5834, allocations: 0.6102 MB / 1.222 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.586, allocations: 2.11 MB / 1.224 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008464/0.5869, allocations: 397.1 kB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5881, allocations: 493.8 kB / 1.225 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.5896, allocations: 482.1 kB / 1.225 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.5898, allocations: 24 kB / 1.225 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.5919, allocations: 0.9507 MB / 1.226 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.5922, allocations: 211.4 kB / 1.226 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.5928, allocations: 314.5 kB / 1.227 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.5947, allocations: 1.153 MB / 1.228 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5947, allocations: 4 kB / 1.228 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5947, allocations: 0 / 1.228 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.5948, allocations: 0 / 1.228 GB, free: 4.266 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001856/0.5966, allocations: 0.9154 MB / 1.229 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5967, allocations: 12.03 kB / 1.229 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.598, allocations: 167.1 kB / 1.229 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.599, allocations: 0.5014 MB / 1.229 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.599, allocations: 37 kB / 1.229 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.5991, allocations: 43.91 kB / 1.229 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.6, allocations: 474.4 kB / 1.23 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6001, allocations: 0 / 1.23 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.6001, allocations: 16 kB / 1.23 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.6002, allocations: 17 kB / 1.23 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.6009, allocations: 415.7 kB / 1.23 GB, free: 1.594 MB / 0.9825 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.002948/0.6039, allocations: 1.74 MB / 1.232 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.6044, allocations: 288.3 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.6047, allocations: 184.7 kB / 1.232 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.6049, allocations: 105.1 kB / 1.233 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.6049, allocations: 38.5 kB / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.6049, allocations: 0 / 1.233 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002275/0.6072, allocations: 1.06 MB / 1.234 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.6073, allocations: 59.41 kB / 1.234 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.6078, allocations: 453.9 kB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.6079, allocations: 33.7 kB / 1.234 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.6081, allocations: 256.1 kB / 1.234 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.6082, allocations: 110.3 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.6084, allocations: 77.53 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6085, allocations: 354.8 kB / 1.235 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.6088, allocations: 131.9 kB / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.609, allocations: 197.9 kB / 1.235 GB, free: 12.26 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.6111, allocations: 0.8557 MB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6111, allocations: 0 / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006655/0.6118, allocations: 416.5 kB / 1.236 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6118, allocations: 4 kB / 1.236 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6118, allocations: 4.188 kB / 1.236 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6119, allocations: 8 kB / 1.236 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.6122, allocations: 71.91 kB / 1.237 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6122, allocations: 0 / 1.237 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.6128, allocations: 27.97 kB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.6128, allocations: 16 kB / 1.237 GB, free: 10.82 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0003098/0.6131, allocations: 213.7 kB / 1.237 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6133, allocations: 51.38 kB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6134, allocations: 64.69 kB / 1.237 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6134, allocations: 4 kB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6134, allocations: 0 / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005373/0.614, allocations: 404.3 kB / 1.237 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.616, allocations: 1.257 MB / 1.239 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.616, allocations: 4 kB / 1.239 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.6164, allocations: 67.91 kB / 1.239 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6164, allocations: 7.984 kB / 1.239 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.6164, allocations: 16 kB / 1.239 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.6164, allocations: 4 kB / 1.239 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.6165, allocations: 12.44 kB / 1.239 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.6175, allocations: 0.7076 MB / 1.239 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.6178, allocations: 164.5 kB / 1.239 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.6179, allocations: 16 kB / 1.239 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.6185, allocations: 31.88 kB / 1.24 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.6185, allocations: 35.86 kB / 1.24 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.6186, allocations: 23.98 kB / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004256/0.619, allocations: 331 kB / 1.24 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.619, allocations: 0 / 1.24 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006615/0.6197, allocations: 144 kB / 1.24 GB, free: 7.066 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.0005038/0.6202, allocations: 170.3 kB / 1.24 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.6209, allocations: 315.9 kB / 1.241 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6209, allocations: 0 / 1.241 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.6212, allocations: 165 kB / 1.241 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.623, allocations: 363.4 kB / 1.241 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.625, allocations: 1.302 MB / 1.242 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.6255, allocations: 0.8822 MB / 1.243 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005369/0.6261, allocations: 136.6 kB / 1.243 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.6262, allocations: 43.44 kB / 1.243 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.6262, allocations: 0 / 1.243 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.5445/1.171, allocations: 10.58 MB / 1.254 GB, free: 194.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches