Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001694/0.001694, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002778/0.002778, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.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.436/2.436, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7811, allocations: 140.4 MB / 0.9491 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04673/0.8279, allocations: 49.36 MB / 0.9973 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.8477, allocations: 12.58 MB / 1.01 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.852, allocations: 71.56 kB / 1.01 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.8549, allocations: 0.6642 MB / 1.01 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008515/0.8634, allocations: 1.695 MB / 1.012 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004797/0.8683, allocations: 1.226 MB / 1.013 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005416/0.8737, allocations: 3.276 MB / 1.016 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.876, allocations: 1.233 MB / 1.018 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/0.8802, allocations: 1.306 MB / 1.019 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.8819, allocations: 0.9603 MB / 1.02 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.8823, allocations: 99.94 kB / 1.02 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.8851, allocations: 1.076 MB / 1.021 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004696/0.8855, allocations: 294.8 kB / 1.021 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.8868, allocations: 0.6723 MB / 1.022 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.8906, allocations: 1.947 MB / 1.024 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.8906, allocations: 0 / 1.024 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8906, allocations: 0 / 1.024 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.683e-05/0.8907, allocations: 0 / 1.024 GB, free: 5.422 MB / 0.7794 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.003024/0.8937, allocations: 1.689 MB / 1.025 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8937, allocations: 12.03 kB / 1.025 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.8944, allocations: 211 kB / 1.026 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.8963, allocations: 1.088 MB / 1.027 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.8967, allocations: 130.2 kB / 1.027 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.8968, allocations: 84 kB / 1.027 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.8986, allocations: 0.9962 MB / 1.028 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.8986, allocations: 3.938 kB / 1.028 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.8987, allocations: 36 kB / 1.028 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.8988, allocations: 20 kB / 1.028 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.9002, allocations: 0.6595 MB / 1.029 GB, free: 328 kB / 0.7794 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.00509/0.9053, allocations: 4.407 MB / 1.033 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.9065, allocations: 418.4 kB / 1.033 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.9071, allocations: 220.7 kB / 1.033 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000864/0.9079, allocations: 1.148 MB / 1.035 GB, free: 9.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.908, allocations: 38.55 kB / 1.035 GB, free: 9.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 3.707e-06/0.908, allocations: 4 kB / 1.035 GB, free: 9.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002912/0.9109, allocations: 1.088 MB / 1.036 GB, free: 8.402 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.911, allocations: 59.34 kB / 1.036 GB, free: 8.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.9121, allocations: 0.9356 MB / 1.037 GB, free: 7.383 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.9121, allocations: 29.7 kB / 1.037 GB, free: 7.348 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.9126, allocations: 0.589 MB / 1.037 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.9127, allocations: 94.64 kB / 1.037 GB, free: 6.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.9129, allocations: 114 kB / 1.037 GB, free: 6.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.913, allocations: 322 kB / 1.038 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.9136, allocations: 197 kB / 1.038 GB, free: 6.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.9142, allocations: 386.8 kB / 1.038 GB, free: 5.574 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9155, allocations: 0.5653 MB / 1.039 GB, free: 4.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9155, allocations: 3.984 kB / 1.039 GB, free: 4.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001648/0.9172, allocations: 0.7325 MB / 1.04 GB, free: 4.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9172, allocations: 8 kB / 1.04 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9172, allocations: 8.656 kB / 1.04 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.9179, allocations: 158.4 kB / 1.04 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.9185, allocations: 143.8 kB / 1.04 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.9197, allocations: 1.723 MB / 1.042 GB, free: 2.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.9205, allocations: 107.4 kB / 1.042 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.9205, allocations: 28.05 kB / 1.042 GB, free: 1.926 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0004445/0.921, allocations: 270.2 kB / 1.042 GB, free: 1.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.9212, allocations: 110.6 kB / 1.042 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.923, allocations: 0.7307 MB / 1.043 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.923, allocations: 11.94 kB / 1.043 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.923, allocations: 0 / 1.043 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.923, allocations: 3.984 kB / 1.043 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.9258, allocations: 1.626 MB / 1.044 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.9259, allocations: 4 kB / 1.044 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.9263, allocations: 96.02 kB / 1.044 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005602/0.9269, allocations: 154.6 kB / 1.045 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.9269, allocations: 11.98 kB / 1.045 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.928, allocations: 1.704 MB / 1.046 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.928, allocations: 4.031 kB / 1.046 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.9295, allocations: 0.788 MB / 1.047 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.9299, allocations: 247.6 kB / 1.047 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.93, allocations: 8 kB / 1.047 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/0.9306, allocations: 71.83 kB / 1.047 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.9307, allocations: 31.91 kB / 1.047 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.9308, allocations: 27.97 kB / 1.047 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007802/0.9316, allocations: 0.6264 MB / 1.048 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9316, allocations: 0 / 1.048 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001011/0.9326, allocations: 359.1 kB / 1.048 GB, free: 10.8 MB / 0.8106 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.000795/0.9334, allocations: 391.5 kB / 1.049 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.935, allocations: 0.5747 MB / 1.049 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.935, allocations: 0 / 1.049 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.9358, allocations: 300 kB / 1.05 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.938, allocations: 0.5275 MB / 1.05 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.9412, allocations: 2.266 MB / 1.052 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.9418, allocations: 1.107 MB / 1.053 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00066/0.9425, allocations: 183.9 kB / 1.054 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.9426, allocations: 71.42 kB / 1.054 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/0.9426, allocations: 4 kB / 1.054 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of Templates: time 0.03506/0.9777, allocations: 19.82 MB / 1.073 GB, free: 1.797 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches