Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001763, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.706/2.706, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6713, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05907/0.7304, allocations: 49.78 MB / 1.066 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7526, allocations: 12.67 MB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.7556, allocations: 83.5 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.758, allocations: 0.7565 MB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.7633, allocations: 1.827 MB / 1.081 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.7676, allocations: 1.344 MB / 1.082 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005985/0.7735, allocations: 3.251 MB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.7756, allocations: 1.252 MB / 1.087 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.7792, allocations: 1.293 MB / 1.088 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.7806, allocations: 0.9291 MB / 1.089 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.7808, allocations: 96 kB / 1.089 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.7834, allocations: 1.072 MB / 1.09 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.7838, allocations: 286.8 kB / 1.09 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008756/0.7847, allocations: 0.6722 MB / 1.091 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.7879, allocations: 1.92 MB / 1.093 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7879, allocations: 0 / 1.093 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7879, allocations: 0 / 1.093 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.7879, allocations: 4 kB / 1.093 GB, free: 5.047 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002942/0.7909, allocations: 1.709 MB / 1.094 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.7909, allocations: 15.98 kB / 1.094 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.7916, allocations: 211 kB / 1.095 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.7937, allocations: 1.014 MB / 1.096 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.7941, allocations: 134.2 kB / 1.096 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.7942, allocations: 84 kB / 1.096 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.7962, allocations: 1.003 MB / 1.097 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7962, allocations: 3.938 kB / 1.097 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.7963, allocations: 36 kB / 1.097 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.7963, allocations: 24 kB / 1.097 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.798, allocations: 0.6595 MB / 1.097 GB, free: 15.97 MB / 0.8575 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.006007/0.804, allocations: 4.767 MB / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.8053, allocations: 414.5 kB / 1.103 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.8059, allocations: 220.7 kB / 1.103 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.8071, allocations: 1.152 MB / 1.104 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.8071, allocations: 34.56 kB / 1.104 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.936e-06/0.8071, allocations: 3.938 kB / 1.104 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.003317/0.8104, allocations: 1.089 MB / 1.105 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.8105, allocations: 59.34 kB / 1.105 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.8118, allocations: 0.9754 MB / 1.106 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.8119, allocations: 33.7 kB / 1.106 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/0.8124, allocations: 0.5889 MB / 1.107 GB, free: 6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8126, allocations: 106.5 kB / 1.107 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.8128, allocations: 106.1 kB / 1.107 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8129, allocations: 326 kB / 1.107 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.8135, allocations: 205 kB / 1.107 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/0.8143, allocations: 410.3 kB / 1.108 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.8157, allocations: 0.6099 MB / 1.108 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.8157, allocations: 8 kB / 1.108 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001935/0.8176, allocations: 0.7643 MB / 1.109 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.8177, allocations: 9.531 kB / 1.109 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8177, allocations: 16.05 kB / 1.109 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.8184, allocations: 162.4 kB / 1.109 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.8191, allocations: 147.8 kB / 1.109 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.8205, allocations: 1.719 MB / 1.111 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.8213, allocations: 91.44 kB / 1.111 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.8214, allocations: 27.98 kB / 1.111 GB, free: 1.035 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.822, allocations: 271.1 kB / 1.111 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.8222, allocations: 110.6 kB / 1.112 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.8243, allocations: 0.727 MB / 1.112 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.8244, allocations: 11.92 kB / 1.112 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8244, allocations: 0 / 1.112 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.8244, allocations: 0 / 1.112 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.8277, allocations: 1.653 MB / 1.114 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8277, allocations: 0 / 1.114 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.8282, allocations: 92.09 kB / 1.114 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000592/0.8288, allocations: 154.3 kB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.8289, allocations: 12 kB / 1.114 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.8302, allocations: 1.716 MB / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8302, allocations: 0 / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.832, allocations: 0.7916 MB / 1.117 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.8324, allocations: 247.5 kB / 1.117 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.8326, allocations: 15.98 kB / 1.117 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.8332, allocations: 39.95 kB / 1.117 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.8333, allocations: 39.83 kB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.8333, allocations: 23.98 kB / 1.117 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009486/0.8343, allocations: 0.658 MB / 1.118 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8343, allocations: 0 / 1.118 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001126/0.8354, allocations: 367.2 kB / 1.118 GB, free: 9.867 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009516/0.8364, allocations: 413.9 kB / 1.118 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.8383, allocations: 0.587 MB / 1.119 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8383, allocations: 4 kB / 1.119 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.8392, allocations: 296 kB / 1.119 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.8416, allocations: 0.5156 MB / 1.12 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.8449, allocations: 1.855 MB / 1.121 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/0.8456, allocations: 1.099 MB / 1.123 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006949/0.8463, allocations: 192.1 kB / 1.123 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.8465, allocations: 71.42 kB / 1.123 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.8465, allocations: 0 / 1.123 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of Templates: time 0.03907/0.8856, allocations: 20.64 MB / 1.143 GB, free: 444 kB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches