Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 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.001583/0.001583, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 68.91 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04838/0.4282, allocations: 49.78 MB / 1.117 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.4476, allocations: 12.69 MB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.4515, allocations: 83.5 kB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.454, allocations: 0.7487 MB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006787/0.4608, allocations: 1.838 MB / 1.132 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.4653, allocations: 1.337 MB / 1.133 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005078/0.4704, allocations: 3.245 MB / 1.136 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.4722, allocations: 1.258 MB / 1.137 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.4755, allocations: 1.293 MB / 1.139 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.4769, allocations: 0.9291 MB / 1.14 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.4771, allocations: 96 kB / 1.14 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.4796, allocations: 1.064 MB / 1.141 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4799, allocations: 290.8 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.4807, allocations: 0.6761 MB / 1.142 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.4852, allocations: 1.916 MB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.4853, allocations: 4 kB / 1.144 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4853, allocations: 0 / 1.144 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.521e-05/0.4853, allocations: 0 / 1.144 GB, free: 12.94 MB / 0.9044 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.003648/0.489, allocations: 1.693 MB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.4891, allocations: 12.03 kB / 1.145 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.49, allocations: 203.1 kB / 1.145 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.4922, allocations: 1.03 MB / 1.146 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.4926, allocations: 126.2 kB / 1.147 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4927, allocations: 84 kB / 1.147 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.4947, allocations: 1.003 MB / 1.148 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.4948, allocations: 11.94 kB / 1.148 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.4949, allocations: 36 kB / 1.148 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.4949, allocations: 27.98 kB / 1.148 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.4965, allocations: 0.6594 MB / 1.148 GB, free: 7.875 MB / 0.9044 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.005335/0.5018, allocations: 4.763 MB / 1.153 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5031, allocations: 402.5 kB / 1.153 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.5036, allocations: 233.2 kB / 1.154 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.5045, allocations: 1.14 MB / 1.155 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5045, allocations: 46.55 kB / 1.155 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.5045, allocations: 0 / 1.155 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.003049/0.5076, allocations: 1.092 MB / 1.156 GB, free: 15.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5076, allocations: 67.28 kB / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5088, allocations: 0.9715 MB / 1.157 GB, free: 14.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.5088, allocations: 29.7 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.5093, allocations: 0.5966 MB / 1.157 GB, free: 13.89 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/0.5094, allocations: 98.56 kB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.5095, allocations: 114 kB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5097, allocations: 326 kB / 1.158 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.5103, allocations: 201 kB / 1.158 GB, free: 13.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.511, allocations: 418.3 kB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.5123, allocations: 0.5989 MB / 1.159 GB, free: 11.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5123, allocations: 7.984 kB / 1.159 GB, free: 11.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001762/0.5141, allocations: 0.7637 MB / 1.16 GB, free: 11.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5141, allocations: 10.56 kB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.5141, allocations: 11.98 kB / 1.16 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.5149, allocations: 158.4 kB / 1.16 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.5155, allocations: 151.8 kB / 1.16 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.5166, allocations: 1.719 MB / 1.162 GB, free: 9.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.5173, allocations: 87.52 kB / 1.162 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.5174, allocations: 32 kB / 1.162 GB, free: 8.941 MB / 0.92 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.0004847/0.5179, allocations: 266.6 kB / 1.162 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.5181, allocations: 114.6 kB / 1.162 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.52, allocations: 0.7421 MB / 1.163 GB, free: 7.797 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.52, allocations: 11.92 kB / 1.163 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.52, allocations: 0 / 1.163 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.52, allocations: 0 / 1.163 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.5229, allocations: 1.649 MB / 1.165 GB, free: 6.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5229, allocations: 3.938 kB / 1.165 GB, free: 6.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.5234, allocations: 87.89 kB / 1.165 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/0.5239, allocations: 154.6 kB / 1.165 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.524, allocations: 15.98 kB / 1.165 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.525, allocations: 1.708 MB / 1.167 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.525, allocations: 4.062 kB / 1.167 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.5267, allocations: 0.7799 MB / 1.167 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.527, allocations: 247.5 kB / 1.168 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.5272, allocations: 15.94 kB / 1.168 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.5278, allocations: 43.95 kB / 1.168 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.5279, allocations: 31.89 kB / 1.168 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.5279, allocations: 23.98 kB / 1.168 GB, free: 2.805 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008466/0.5288, allocations: 0.6619 MB / 1.168 GB, free: 2.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5288, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00112/0.5299, allocations: 375.1 kB / 1.169 GB, free: 1.77 MB / 0.92 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.0008612/0.5308, allocations: 414.6 kB / 1.169 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.5325, allocations: 0.5828 MB / 1.17 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5326, allocations: 0 / 1.17 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008424/0.5334, allocations: 297.2 kB / 1.17 GB, free: 496 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.5358, allocations: 0.536 MB / 1.171 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.539, allocations: 1.83 MB / 1.172 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.5396, allocations: 1.111 MB / 1.173 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000716/0.5403, allocations: 188.2 kB / 1.174 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.5405, allocations: 63.42 kB / 1.174 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of SimCode: time 2.966e-06/0.5405, allocations: 4 kB / 1.174 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.03527/0.5757, allocations: 20.66 MB / 1.194 GB, free: 8.301 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches